use trackable::error::ErrorKind as TrackableErrorKind;
use trackable::error::TrackableError;
#[derive(Debug, TrackableError)]
pub struct Error(TrackableError<ErrorKind>);
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum ErrorKind {
CorruptedFragments,
InvalidInput,
Other,
}
impl TrackableErrorKind for ErrorKind {}