Files
libchat/crates/generic-chat/src/errors.rs
kaichao 939a63e8bc feat: separate embedded logos client (#166)
* 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
2026-07-09 15:12:58 +08:00

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),
}