summaryrefslogtreecommitdiff
path: root/mingling/src/asset/chain/error.rs
blob: d4da4ac2dd5922e99966dd7a89bb097cb67da845 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::AnyOutput;

#[derive(thiserror::Error, Debug)]
pub enum ChainProcessError {
    #[error("Other error: {0}")]
    Other(String),

    #[error("IO error: {0}")]
    IO(#[from] std::io::Error),

    #[error("Broken chain")]
    Broken(AnyOutput),
}