Exceptions

Core

exception atproto_core.exceptions.AtProtocolError

Bases: Exception

Base exception.

exception atproto_core.exceptions.DAGCBORDecodingError

Bases: AtProtocolError

exception atproto_core.exceptions.InvalidAtUriError

Bases: AtProtocolError

exception atproto_core.exceptions.InvalidCARFile

Bases: AtProtocolError

exception atproto_core.exceptions.InvalidNsidError

Bases: AtProtocolError

Client

exception atproto_client.exceptions.BadRequestError(response: Response | None = None)

Bases: RequestErrorBase

exception atproto_client.exceptions.InvokeTimeoutError(response: Response | None = None)

Bases: NetworkError

exception atproto_client.exceptions.LoginRequiredError(message: str | None = 'To perform this action, you must be logged in. Use the `login` method first.')

Bases: AtProtocolError

exception atproto_client.exceptions.ModelError

Bases: AtProtocolError

exception atproto_client.exceptions.ModelFieldNotFoundError

Bases: ModelError

exception atproto_client.exceptions.NetworkError(response: Response | None = None)

Bases: RequestErrorBase

exception atproto_client.exceptions.RequestErrorBase(response: Response | None = None)

Bases: AtProtocolError

exception atproto_client.exceptions.RequestException(response: Response | None = None)

Bases: RequestErrorBase

exception atproto_client.exceptions.UnauthorizedError(response: Response | None = None)

Bases: RequestErrorBase

Firehose

exception atproto_firehose.exceptions.FirehoseDecodingError

Bases: FirehoseError

exception atproto_firehose.exceptions.FirehoseError

Bases: AtProtocolError

Identity

exception atproto_identity.exceptions.AtprotoDataParseError

Bases: AtProtocolError

exception atproto_identity.exceptions.DidNotFoundError

Bases: AtProtocolError

exception atproto_identity.exceptions.DidPlcResolverError

Bases: AtProtocolError

exception atproto_identity.exceptions.DidWebResolverError

Bases: AtProtocolError

exception atproto_identity.exceptions.PoorlyFormattedDidDocumentError

Bases: AtProtocolError

exception atproto_identity.exceptions.PoorlyFormattedDidError

Bases: AtProtocolError

exception atproto_identity.exceptions.UnsupportedDidMethodError

Bases: AtProtocolError

exception atproto_identity.exceptions.UnsupportedDidWebPathError

Bases: AtProtocolError

Crypto

exception atproto_crypto.exceptions.DidKeyError

Bases: AtProtocolError

exception atproto_crypto.exceptions.IncorrectDidKeyPrefixError

Bases: DidKeyError

exception atproto_crypto.exceptions.IncorrectMultikeyPrefixError

Bases: DidKeyError

exception atproto_crypto.exceptions.InvalidCompressedPubkeyError

Bases: AtProtocolError

exception atproto_crypto.exceptions.UnsupportedKeyTypeError

Bases: DidKeyError

exception atproto_crypto.exceptions.UnsupportedSignatureAlgorithmError

Bases: AtProtocolError

Server

exception atproto_server.exceptions.InvalidTokenError

Bases: AtProtocolError

exception atproto_server.exceptions.TokenDecodeError

Bases: InvalidTokenError

exception atproto_server.exceptions.TokenExpiredSignatureError

Bases: InvalidTokenError

exception atproto_server.exceptions.TokenImmatureSignatureError

Bases: InvalidTokenError

exception atproto_server.exceptions.TokenInvalidAudienceError

Bases: InvalidTokenError

exception atproto_server.exceptions.TokenInvalidIssuedAtError

Bases: InvalidTokenError

exception atproto_server.exceptions.TokenInvalidSignatureError

Bases: TokenDecodeError

Lexicon

exception atproto_lexicon.exceptions.LexiconParsingError

Bases: AtProtocolError