crossterm_keybind/
error.rs

1#[derive(thiserror::Error, Debug)]
2pub enum Error {
3    #[error("can not init keybind config more than once")]
4    ConfigDoubleInitError,
5    #[error("can not init keybind config with the default keybindings")]
6    DefaultConfigError(String),
7    #[error("can not read keybind config")]
8    ReadConfigError(#[from] std::io::Error),
9    #[error("can not load keybind config")]
10    LoadConfigError(String),
11}