core.utils.fetchers.exceptions module

Exceptions for errors during operations on mailservers.

exception core.utils.fetchers.exceptions.FetcherError[source]

Bases: Exception

Base exception class for errors during operations on mailservers.

exception core.utils.fetchers.exceptions.MailAccountError(error, command_name='interaction')[source]

Bases: FetcherError

Exception for errors concerning the mail account.

Parameters:
  • error (Exception)

  • command_name (StrOrPromise)

Return type:

None

__init__(error, command_name='interaction')[source]

Extended for consistent message formatting.

Parameters:
  • error (Exception)

  • command_name (StrOrPromise)

Return type:

None

exception core.utils.fetchers.exceptions.MailboxError(error, command_name='interaction')[source]

Bases: FetcherError

Exception for errors concerning the mailbox.

Parameters:
Return type:

None

__init__(error, command_name='interaction')[source]

Extended for consistent message formatting.

Parameters:
Return type:

None

exception core.utils.fetchers.exceptions.BadServerResponseError(response='')[source]

Bases: Exception

Exception for unexpected server responses.

Parameters:

response (object)

Return type:

None

__init__(response='')[source]

Extended for consistent message formatting.

Parameters:

response (object)

Return type:

None