aoc-toolkit 0.1.0-alpha.4

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::progress::LocalProgressStoreError;
use crate::cli::error::CliError;

pub(crate) fn print_error(error: &CliError) {
    eprintln!("✗ {error}");
}

pub(crate) fn print_progress_warning(error: &LocalProgressStoreError) {
    eprintln!("Warning: Could not save local progress: {error}");
}

pub(crate) fn print_readme_warning(error: &CliError) {
    eprintln!("Warning: Could not update README progress: {error}");
}