Skip to main content

wisp/
error.rs

1use acp_utils::client::AcpClientError;
2use thiserror::Error;
3
4/// Fatal errors that can terminate the TUI.
5#[derive(Debug, Error)]
6pub enum AppError {
7    #[error("I/O error: {0}")]
8    Io(#[from] std::io::Error),
9    #[error("{0}")]
10    Acp(#[from] AcpClientError),
11}