Exceptions

class boto3_refresh_session.exceptions.BRSError[source]

The base exception for boto3-refresh-session.

Parameters:
messagestr, optional

The message to raise.

codestr | int, optional

A short machine-friendly code for the error.

status_codeint, optional

An HTTP status code, if applicable.

detailsDict[str, Any], optional

Extra structured metadata for debugging or logging.

paramstr, optional

The parameter name related to the error.

valueAny, optional

The parameter value related to the error.

__new__(*args, **kwargs)[source]
with_traceback()[source]

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

class boto3_refresh_session.exceptions.BRSValidationError[source]

Raised when inputs are missing or invalid.

__new__(*args, **kwargs)[source]
with_traceback()[source]

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

class boto3_refresh_session.exceptions.BRSConfigurationError[source]

Raised when configuration is incompatible or malformed.

__new__(*args, **kwargs)[source]
with_traceback()[source]

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

class boto3_refresh_session.exceptions.BRSCredentialError[source]

Raised when credential data is malformed or incomplete.

__new__(*args, **kwargs)[source]
with_traceback()[source]

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

class boto3_refresh_session.exceptions.BRSConnectionError[source]

Raised when a connection or transport fails.

__new__(*args, **kwargs)[source]
with_traceback()[source]

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

class boto3_refresh_session.exceptions.BRSRequestError[source]

Raised when a remote request fails.

__new__(*args, **kwargs)[source]
with_traceback()[source]

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

class boto3_refresh_session.exceptions.BRSWarning[source]

The base warning for boto3-refresh-session.

Parameters:
messagestr, optional

The message to raise.

__new__(*args, **kwargs)[source]
classmethod warn(message: str, *, stacklevel: int = 2) None[source]

Emits a BRSWarning with a consistent stacklevel.

with_traceback()[source]

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.