:py:mod:`aiosignald.exc` ======================== .. py:module:: aiosignald.exc .. autoapi-nested-parse:: Generated using https://signald.org/protocol.json Version: '0.23.2-7-1583b4df'= Module Contents --------------- .. py:exception:: SignaldException(payload: dict[str, str]) Bases: :py:obj:`Exception` Base class to translate signald's response payloads into python exceptions .. py:method:: __str__() Return str(self). .. py:exception:: UntrustedIdentityError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: identifier :type: str .. py:attribute:: message :type: str .. py:attribute:: identity_key :type: aiosignald.generated.IdentityKeyv1 .. py:exception:: ProtocolInvalidKeyIdError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: sender :type: str .. py:attribute:: timestamp :type: int .. py:attribute:: message :type: str .. py:attribute:: sender_device :type: int .. py:attribute:: content_hint :type: int .. py:attribute:: group_id :type: str .. py:exception:: DuplicateMessageError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: timestamp :type: int .. py:attribute:: message :type: str .. py:exception:: NetworkError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: ProtocolInvalidMessageError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: sender :type: str .. py:attribute:: timestamp :type: int .. py:attribute:: message :type: str .. py:attribute:: sender_device :type: int .. py:attribute:: content_hint :type: int .. py:attribute:: group_id :type: str .. py:exception:: ProtocolNoSessionError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: sender :type: str .. py:attribute:: timestamp :type: int .. py:attribute:: message :type: str .. py:attribute:: sender_device :type: int .. py:attribute:: content_hint :type: int .. py:attribute:: group_id :type: str .. py:exception:: NoSuchAccountError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: account :type: str .. py:attribute:: message :type: str .. py:exception:: ServerNotFoundError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: uuid :type: str .. py:attribute:: message :type: str .. py:exception:: InvalidProxyError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: NoSendPermissionError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: InvalidAttachmentError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: filename :type: str .. py:attribute:: message :type: str .. py:exception:: InternalError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` an internal error in signald has occurred. typically these are things that "should never happen" such as issues saving to the local disk, but it is also the default error type and may catch some things that should have their own error type. If you find tht your code is depending on the exception list for any particular behavior, please file an issue so we can pull those errors out to a separate error type: https://gitlab.com/signald/signald/-/issues/new .. py:attribute:: exceptions :type: list[str] .. py:attribute:: message :type: str .. py:exception:: InvalidRequestError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: UnknownGroupError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: RateLimitError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: InvalidRecipientError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: AttachmentTooLargeError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: filename :type: str .. py:attribute:: message :type: str .. py:exception:: AuthorizationFailedError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Indicates the server rejected our credentials or a failed group update. Typically means the linked device was removed by the primary device, or that the account was re-registered. For group updates, this can indicate that we lack permissions. .. py:attribute:: message :type: str .. py:exception:: SQLError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: ProofRequiredError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: token :type: str .. py:attribute:: options :type: list[str] .. py:attribute:: message :type: str .. py:attribute:: retry_after :type: int .. py:exception:: SignalServerError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` indicates signald received an http 500 status code from the server .. py:attribute:: message :type: str .. py:exception:: UnregisteredUserError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:attribute:: e164_number :type: str .. py:exception:: OwnProfileKeyDoesNotExistError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: GroupPatchNotAcceptedError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Indicates the server rejected our group update. This can be due to errors such as trying to add a user that's already in the group. .. py:attribute:: message :type: str .. py:exception:: GroupVerificationError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: InvalidGroupStateError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: InvalidInviteURIError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: GroupNotActiveError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: UnsupportedGroupError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` returned in response to use v1 groups, which are no longer supported .. py:attribute:: message :type: str .. py:exception:: InvalidBase64Error(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: ProfileUnavailableError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: NoKnownUUIDError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: NoSuchSessionError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: UserAlreadyExistsError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: uuid :type: str .. py:attribute:: message :type: str .. py:exception:: ScanTimeoutError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: CaptchaRequiredError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: more :type: str .. py:attribute:: message :type: str .. py:exception:: AccountHasNoKeysError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: AccountAlreadyVerifiedError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: AccountLockedError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: more :type: str .. py:attribute:: message :type: str .. py:exception:: FingerprintVersionMismatchError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: UnknownIdentityKeyError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: InvalidFingerprintError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: InvalidGroupError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str .. py:exception:: GroupLinkNotActiveError(payload: dict[str, str]) Bases: :py:obj:`aiosignald.error.SignaldException` Base class to translate signald's response payloads into python exceptions .. py:attribute:: message :type: str