mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-06-28 20:19:26 +00:00
* Add GroupV1 * Clean warnings * Remove dead test * Re-use components in integration tests * Remove deadcode * undo import fixes * tidy * Update Accounts + service_traits * Remove ClientCtx * Remove duplicate test_utils * Wrap constructor in result * Warning fixups * Appease clippy * Update comments * Update todo * Clean up warnings * Avoid panic * Fix libchat import in chat-cli * Add InboxV2 comment * Add comments to GroupV1Convo * Update doc comments * reduce visibility * Doc Integration tests * Hashlen update * remove type alias for ProtocolParams * Remove stray printlines * Review fixes * PR review changes * Add trait comments * chat_proto import paths * PR Feedback fixes * Update CliClient * Update CLI DeliveryService impls
12 lines
332 B
Rust
12 lines
332 B
Rust
use libchat::ChatError;
|
|
|
|
#[derive(Debug, thiserror::Error)]
|
|
pub enum ClientError<D: std::fmt::Display> {
|
|
#[error(transparent)]
|
|
Chat(#[from] ChatError),
|
|
/// Crypto state advanced but at least one envelope failed delivery.
|
|
/// Caller decides whether to retry.
|
|
#[error("delivery failed: {0:?}")]
|
|
Delivery(D),
|
|
}
|