1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
use thiserror::Error;

#[derive(Error, Debug, Clone, PartialEq, Hash)]
pub enum Error {
    #[error("Other Error: {0}")]
    Other(String),
    #[error("Error getting path: {0}")]
    Path(String),
    #[error("Error getting file data: {0}")]
    File(String),
    #[error("Error parsing file: {0}")]
    Parse(String),
}