Enum matrix_sdk_base::Error [−][src]
pub enum Error {
AuthenticationRequired,
StateStore(StoreError),
SerdeJson(JsonError),
IoError(IoError),
CryptoStore(CryptoStoreError),
OlmError(OlmError),
MegolmError(MegolmError),
}Expand description
Internal representation of errors.
Variants
Queried endpoint requires authentication but was called on an anonymous client.
StateStore(StoreError)A generic error returned when the state store fails not due to IO or (de)serialization.
SerdeJson(JsonError)An error when (de)serializing JSON.
IoError(IoError)An error representing IO errors.
CryptoStore(CryptoStoreError)This is supported on
encryption only.An error occurred in the crypto store.
OlmError(OlmError)This is supported on
encryption only.An error occurred during a E2EE operation.
MegolmError(MegolmError)This is supported on
encryption only.An error occurred during a E2EE group operation.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Errorimpl !UnwindSafe for ErrorBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self