towl 0.3.7

A fast CLI tool to scan codebases for TODO comments and output them in multiple formats
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use thiserror::Error;

use super::formatter::error::FormatterError;
use super::writer::error::WriterError;

/// Errors from formatting or writing scan output.
#[derive(Error, Debug)]
pub enum TowlOutputError {
    #[error("Unable to format todos: {0}")]
    UnableToFormatTodos(#[from] FormatterError),
    #[error("Unable to write todos: {0}")]
    UnableToWriteTodos(#[from] WriterError),
    #[error("Invalid output path: {0}")]
    InvalidOutputPath(String),
}