Type Alias sp_runtime::DispatchResult
source · pub type DispatchResult = Result<(), DispatchError>;
Expand description
This is the legacy return type of Dispatchable
. It is still exposed for compatibility reasons.
The new return type is DispatchResultWithInfo
. FRAME runtimes should use
frame_support::dispatch::DispatchResult
.
Aliased Type§
enum DispatchResult {
Ok(()),
Err(DispatchError),
}