aoc-toolkit 0.1.0-alpha.1

A toolkit for solving Advent of Code problems
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::application::run::RunError;
use crate::project::ProjectError;

#[derive(Debug, thiserror::Error)]
pub enum CliError {
    #[error("Cannot determine current directory: {0}")]
    CurrentDirectory(#[source] std::io::Error),

    #[error(transparent)]
    Project(#[from] ProjectError),

    #[error(transparent)]
    Run(#[from] RunError),
}