Function pallet_safe_mode::pallet::dispatchables::force_exit
source · pub fn force_exit<T: Config>()
Expand description
Exit safe-mode by force.
Emits an Event::Exited
with ExitReason::Force
event on success.
Errors with Error::Exited
if the safe-mode is inactive.
Note: safe-mode
will be automatically deactivated by Pallet::on_initialize
hook
after the block height is greater than the EnteredUntil
storage item.
Emits an Event::Exited
with ExitReason::Timeout
event when deactivated in the
hook.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::force_exit
.