summaryrefslogtreecommitdiffstats
path: root/src/tmux/error.rs
blob: 6da5830f117f7520cb4c3a740b8b13779320e941 (plain)
1
2
3
4
5
6
7
8
9
10
11
#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error("IO error: {0}")]
    IO(#[from] std::io::Error),

    #[error(transparent)]
    Format(#[from] ron::error::SpannedError),

    #[error("Parsing error: {0}")]
    Parse(#[from] std::str::Utf8Error),
}