[][src]Function casperlabs_contract_ffi::contract_api::runtime::revert

pub fn revert<T: Into<Error>>(error: T) -> !

Stops execution of a contract and reverts execution effects with a given reason.