Files
libchat/crates/generic-chat/src/errors.rs
T

16 lines
452 B
Rust
Raw Normal View History

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),
2026-07-03 23:18:10 +02:00
#[error("account resolution failed: {0}")]
AccountResolution(String),
#[error("device bundle publish failed: {0}")]
BundlePublish(String),
}