mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-09 09:47:43 +03:00
20 lines
547 B
Rust
20 lines
547 B
Rust
|
use matrix_sdk_common::identifiers::Error as RumaIdentifierError;
|
||
|
|
||
|
use matrix_sdk_crypto::{store::CryptoStoreError as InnerStoreError, OlmError};
|
||
|
|
||
|
#[derive(Debug, thiserror::Error)]
|
||
|
pub enum MachineCreationError {
|
||
|
#[error(transparent)]
|
||
|
Identifier(#[from] RumaIdentifierError),
|
||
|
#[error(transparent)]
|
||
|
CryptoStore(#[from] InnerStoreError),
|
||
|
}
|
||
|
|
||
|
#[derive(Debug, thiserror::Error)]
|
||
|
pub enum CryptoStoreError {
|
||
|
#[error(transparent)]
|
||
|
CryptoStore(#[from] InnerStoreError),
|
||
|
#[error(transparent)]
|
||
|
OlmError(#[from] OlmError),
|
||
|
}
|