pub fn revert<T: Into<ApiError>>(error: T) -> ! {
    unsafe {
        ext_ffi::casper_revert(error.into().into());
    }
}
/// 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.
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.
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 .
pub fn revert<T: Into<ApiError>>(error: T) -> ! {
    unsafe {
        ext_ffi::casper_revert(error.into().into());
    }
}
pub fn revert < T : Into < ApiError > > ( error : T ) -> ! { unsafe { ext_ffi :: casper_revert ( error . into ( ) . into ( ) ) ; } }
Stops execution of a contract and reverts execution effects with a given [`ApiError`].
Stops execution of a contract and reverts execution effects with a given [ ` ApiError ` ] .
error
T
error
T