Skip to content

Exceptions

obstore.exceptions

AlreadyExistsError

Bases: ObstoreError

Error when the object already exists.

GenericError

Bases: ObstoreError

A fallback error type when no variant matches.

InvalidPathError

Bases: ObstoreError

Error for invalid path.

JoinError

Bases: ObstoreError

Error when tokio::spawn failed.

NotFoundError

Bases: ObstoreError

Error when the object is not found at given location.

NotModifiedError

Bases: ObstoreError

Error when the object at the location isn't modified.

NotSupportedError

Bases: ObstoreError

Error when the attempted operation is not supported.

ObstoreError

Bases: Exception

The base exception class

PermissionDeniedError

Bases: ObstoreError

Error when the used credentials don't have enough permission to perform the requested operation

PreconditionError

Bases: ObstoreError

Error when the required conditions failed for the operation.

UnauthenticatedError

Bases: ObstoreError

Error when the used credentials lack valid authentication.

UnknownConfigurationKeyError

Bases: ObstoreError

Error when a configuration key is invalid for the store used.