mirror of
https://github.com/anthonyoteri/advent-of-code-2023.git
synced 2026-06-05 23:06:53 -04:00
ee2bc2bc73
Signed-off-by: Anthony Oteri <anthony.oteri@gmail.com>
10 lines
207 B
Rust
10 lines
207 B
Rust
use miette::Diagnostic;
|
|
use thiserror::Error;
|
|
|
|
#[derive(Error, Diagnostic, Debug)]
|
|
pub enum AocError {
|
|
#[error(transparent)]
|
|
#[diagnostic(code(aoc::io_error))]
|
|
IoError(#[from] std::io::Error),
|
|
}
|