1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::enrich::EnrichmentError;
use crate::permutate::PermutationError;
use std::convert::Infallible;

#[derive(thiserror::Error, Debug)]
pub enum Error {
    #[error(transparent)]
    PermutationError(#[from] PermutationError),

    #[error(transparent)]
    EnrichmentError(#[from] EnrichmentError),

    #[error(transparent)]
    Infallible(#[from] Infallible),
}