use thiserror::Error;

#[derive(Debug, Error)]
pub enum ParseError {
    #[error("unexpected token at {line}:{column}: {message}")]
    UnexpectedToken {
        line: usize,
        column: usize,
        message: String,
    },

    #[error("unexpected end of file")]
    UnexpectedEof,
}
