referrerpolicy=no-referrer-when-downgrade
pallet_utility::pallet::dispatchables

Function dispatch_as_fallible

Source
pub fn dispatch_as_fallible<T: Config>(
    as_origin: Box<T::PalletsOrigin>,
    call: Box<<T as Config>::RuntimeCall>,
)
Expand description

Dispatches a function call with a provided origin.

Almost the same as Pallet::dispatch_as but forwards any error of the inner call.

The dispatch origin for this call must be Root.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::dispatch_as_fallible.