pub trait BackendAllocSyscallError: Sized {
type ExtError: BackendSyscallError;
// Required method
fn into_backend_error(self) -> Result<Self::ExtError, Self>;
}Expand description
A trait for conversion of the externalities memory management error to api error.
If the conversion fails, then Self is returned in the Err variant.