Function pallet::err::custom[][src]

pub fn custom<T: Display>(t: T) -> Error

Create a custom error.