[−][src]Function casper_contract::contract_api::runtime::revert
pub fn revert<T: Into<ApiError>>(error: T) -> !
Stops execution of a contract and reverts execution effects with a given ApiError
.
The provided ApiError
is returned in the form of a numeric exit code to the caller via the
deploy response.