[−][src]Function casperlabs_contract::ext_ffi::revert
pub unsafe extern "C" fn revert(status: u32) -> !
This function causes a Trap
which terminates the currently running
module. Additionally, it signals that the current entire phase of
execution of the deploy should be terminated as well, and that the effects
of the execution up to this point should be reverted. The error code
provided to this function will be included in the error message of the
deploy in the block in which it is included.
Arguments
status
- error code of the revert