1
2
3
4
5
6
7
8
#[derive(Debug, Clone, thiserror::Error)]
#[cfg_attr(test, derive(PartialEq))]
pub enum Error {
    #[error("The inserted character is invalid!")]
    InvalidCharacterError,
    #[error("The method `{0}` does not exist")]
    InvalidMethodError(String),
}