mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-08-27 08:01:09 +00:00
* feat: separate embedded p2p delievery to its own crate * feat: separate p2p config in its own crate * chore: split embed module * chore: refactor registry config * feat: split logos chat crate * chore: refactor
16 lines
452 B
Rust
16 lines
452 B
Rust
use libchat::ChatError;
|
|
|
|
#[derive(Debug, thiserror::Error)]
|
|
pub enum ClientError {
|
|
#[error(transparent)]
|
|
Chat(#[from] ChatError),
|
|
#[error("received credential could not be parsed")]
|
|
BadlyFormedCredential,
|
|
#[error("failed to start the transport: {0}")]
|
|
Transport(String),
|
|
#[error("account resolution failed: {0}")]
|
|
AccountResolution(String),
|
|
#[error("device bundle publish failed: {0}")]
|
|
BundlePublish(String),
|
|
}
|