Trait ApiErrorExt
sp_api
pub trait ApiErrorExt { type Error: Debug + From<ApiError>; }
Extends the runtime api traits with an associated error type. This trait is given as super trait to every runtime api trait.
type Error: Debug + From<ApiError>
Error type used by the runtime apis.