use std::error::Error;
use snafu::Snafu;
#[derive(Clone, PartialEq, Eq, Debug, PartialOrd, Ord, Hash, Snafu)]
#[snafu(visibility(pub(crate)))]
pub enum EitherError<A: Error + 'static, B: Error + 'static> {
Left {
source: A,
},
Right {
source: B,
},
}