zeph-channels 0.11.4

Multi-channel I/O adapters (CLI, Telegram, Discord, Slack) for Zeph
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Error types for zeph-channels.

/// Errors that can occur in channel operations.
#[derive(Debug, thiserror::Error)]
pub enum ChannelError {
    /// Telegram API error.
    #[error("Telegram API error: {0}")]
    Telegram(String),

    /// No active chat available for operation.
    #[error("no active chat")]
    NoActiveChat,
}