Trait scale_encode::error::CustomError
source · pub trait CustomError: Error + Send + Sync + 'static { }
Expand description
Anything implementing this trait can be used in ErrorKind::Custom
.
pub trait CustomError: Error + Send + Sync + 'static { }
Anything implementing this trait can be used in ErrorKind::Custom
.