silverback.exceptions#

exception silverback.exceptions.CircuitBreaker(message: str)#

Bases: Halt

Custom exception (created by user) that will trigger an bot shutdown.

exception silverback.exceptions.ClientError(message: str, ctx: Context | None = None)#

Bases: SilverbackException, UsageError

Exception for client errors in the HTTP request.

exception silverback.exceptions.ContainerTypeMismatchError(task_type: TaskType, container: Any)#

Bases: Exception

exception silverback.exceptions.Halt#

Bases: SilverbackException

exception silverback.exceptions.ImportFromStringError#

Bases: Exception

exception silverback.exceptions.InvalidContainerConfigurationError#

Bases: Exception

exception silverback.exceptions.InvalidContainerTypeError(container: Any)#

Bases: Exception

exception silverback.exceptions.NoSignerLoaded#

Bases: SilverbackException

exception silverback.exceptions.NoTasksAvailableError#

Bases: StartupFailure

exception silverback.exceptions.NoWebsocketAvailableError#

Bases: Exception

exception silverback.exceptions.SilverbackException#

Bases: ApeException

Base Exception for any Silverback runtime faults.

exception silverback.exceptions.StartupFailure(*exceptions: BaseException | str | None)#

Bases: SilverbackException, ClickException

exception silverback.exceptions.UnregisteredTask(task_name: str)#

Bases: Exception