aleph.exceptions module

exception aleph.exceptions.AlephException[source]

Bases: Exception

exception aleph.exceptions.AlephStorageException[source]

Bases: AlephException

Base exception class for all errors related to the storage and retrieval of Aleph messages.

exception aleph.exceptions.ContentCurrentlyUnavailable[source]

Bases: AlephStorageException

The content is currently unavailable, for example because of a synchronisation issue.

exception aleph.exceptions.InvalidConfigException[source]

Bases: AlephException

exception aleph.exceptions.InvalidContent[source]

Bases: AlephStorageException

The content requested by the user is invalid. Examples: * its integrity is compromised * it does not match the Aleph message specification.

exception aleph.exceptions.KeyNotFoundException[source]

Bases: AlephException

exception aleph.exceptions.UnknownHashError[source]

Bases: AlephException