1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
pub mod args; pub mod commands; pub mod plain; pub mod state; pub mod tui; /// Exit codes for different error conditions pub mod exit_codes { /// Successful execution pub const SUCCESS: u8 = 0; /// Network/connection error (e.g., host unreachable, connection refused) pub const NETWORK_ERROR: u8 = 1; /// Authentication error (e.g., invalid credentials) pub const AUTH_ERROR: u8 = 2; /// Protocol error (e.g., unexpected server response) pub const PROTOCOL_ERROR: u8 = 3; }