Type Alias frame_support::dispatch::DispatchResult
source · pub type DispatchResult = Result<(), DispatchError>;Expand description
Unaugmented version of DispatchResultWithPostInfo that can be returned from
dispatchable functions and is automatically converted to the augmented type. Should be
used whenever the PostDispatchInfo does not need to be overwritten. As this should
be the common case it is the implicit return type when none is specified.
Aliased Type§
enum DispatchResult {
Ok(()),
Err(DispatchError),
}