Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use thiserror::Error;

#[derive(Error, Debug)]
pub enum DidrteError {
    #[error("Some tests have failed")]
    Failed,

    #[error("Unable to list tests directory {d}")]
    ListTestDir {
        d: std::path::PathBuf,
        source: std::io::Error,
    },
}

pub type DidrteResult<T> = std::result::Result<T, DidrteError>;