matrixlib.error module¶
Error handling
-
exception
matrixlib.error.EncryptionAlgorithmChangedError(initial_algorithm: str, new_algorithm: str)¶ -
The encryption algorithm in a room was changed from its initial algorithm
-
exception
matrixlib.error.EncryptionDisabledError¶ -
Encryption was enabled in a room but is now disabled
-
exception
matrixlib.error.InvalidResponseError¶ -
The server’s response did not match the expected format
-
exception
matrixlib.error.MatrixError(code, body)¶ -
Wraps a Matrix API error
-
exception
matrixlib.error.NotMatrixServerError¶ -
The server is not a Matrix server
-
exception
matrixlib.error.UnableToDecryptError¶ -
We were unable to decrypt the message
-
exception
matrixlib.error.UnknownEncryptionAlgorithmError(algorithm: str)¶ -
The initial encryption algorithm for a room is not a known algorithm