Description
ChannelError in crates/zeph-core/src/channel.rs:119 is missing #[non_exhaustive].
This enum is part of the public API (used by all channel adapters: CLI, Telegram, Discord, Slack) and is likely to gain new variants as new channel backends are added (e.g., Discord-specific error types, WebSocket errors, etc.).
Without #[non_exhaustive], any new variant addition is a breaking change.
Affected enum
crates/zeph-core/src/channel.rs:119 pub enum ChannelError
Expected Behavior
Add #[non_exhaustive] above pub enum ChannelError.
Reproduction Steps
N/A — static analysis finding.
Environment
Description
ChannelErrorincrates/zeph-core/src/channel.rs:119is missing#[non_exhaustive].This enum is part of the public API (used by all channel adapters: CLI, Telegram, Discord, Slack) and is likely to gain new variants as new channel backends are added (e.g., Discord-specific error types, WebSocket errors, etc.).
Without
#[non_exhaustive], any new variant addition is a breaking change.Affected enum
Expected Behavior
Add
#[non_exhaustive]abovepub enum ChannelError.Reproduction Steps
N/A — static analysis finding.
Environment