mirror of
https://github.com/anthonyoteri/advent-of-code-2023.git
synced 2026-06-05 22:56:54 -04:00
6bc2407bba
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),
|
|
}
|