use codespan_reporting::files::Error as CodespanError;
#[derive(Debug)]
pub enum Error {
FileMissing,
IndexTooLarge { given: usize, max: usize },
LineTooLarge { given: usize, max: usize },
ColumnTooLarge { given: usize, max: usize },
InvalidCharBoundary { given: usize },
Io(std::io::Error),
CodespanError(CodespanError),
}