panim_loader/
errors.rs

1use thiserror::Error;
2
3#[derive(Error, Debug)]
4pub enum Error {
5    #[error("Parse error: {0}")]
6    ParseError(#[from] nom::error::Error<String>),
7    #[error("Error opening file: {0}")]
8    FileError(#[from] std::io::Error),
9}