Skip to content

Exceptions

obstore.exceptions

AlreadyExistsError

Bases: BaseError

Error when the object already exists.

BaseError

Bases: Exception

The base exception class

GenericError

Bases: BaseError

A fallback error type when no variant matches.

InvalidPathError

Bases: BaseError

Error for invalid path.

JoinError

Bases: BaseError

Error when tokio::spawn failed.

NotFoundError

Bases: BaseError

Error when the object is not found at given location.

NotModifiedError

Bases: BaseError

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

NotSupportedError

Bases: BaseError

Error when the attempted operation is not supported.

PermissionDeniedError

Bases: BaseError

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

PreconditionError

Bases: BaseError

Error when the required conditions failed for the operation.

UnauthenticatedError

Bases: BaseError

Error when the used credentials lack valid authentication.

UnknownConfigurationKeyError

Bases: BaseError

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