swh.storage.exc module#
- exception swh.storage.exc.StorageDBError[source]#
Bases:
ExceptionSpecific storage db error (connection, erroneous queries, etc…)
- exception swh.storage.exc.StorageAPIError[source]#
Bases:
ExceptionSpecific internal storage api (mainly connection)
- exception swh.storage.exc.NonRetryableException[source]#
Bases:
ExceptionPersistent storage exceptions for which clients should not issue automatic retries
- exception swh.storage.exc.StorageArgumentException[source]#
Bases:
NonRetryableExceptionArgument passed to a Storage endpoint is invalid.
- exception swh.storage.exc.QueryTimeout[source]#
Bases:
StorageAPIErrorRaised when a query to the backend (Cassandra or PostgreSQL) took too long.
- exception swh.storage.exc.UnknownMetadataAuthority[source]#
Bases:
StorageArgumentExceptionRaised when
raw_extrinsic_metadata_addis called with a non-existing metadata authority as argument.
- exception swh.storage.exc.UnknownMetadataFetcher[source]#
Bases:
StorageArgumentExceptionRaised when
raw_extrinsic_metadata_addis called with a non-existing metadata fetcher as argument.
- exception swh.storage.exc.BlockedOriginException(blocked: Dict[str, BlockingStatus])[source]#
Bases:
NonRetryableExceptionRaised when the blocking proxy prevent from inserting a blocked origin
- exception swh.storage.exc.MaskedObjectException(masked: Dict[ExtendedSWHID, List[MaskedStatus]])[source]#
Bases:
NonRetryableExceptionRaised when the masking proxy attempts to return a masked object