Function eosio_sys::eosio_exit
source · pub unsafe extern "C" fn eosio_exit(code: i32)
Expand description
This method will abort execution of wasm without failing the contract. This is used to bypass all cleanup / destructors that would normally be called. @brief Aborts execution of wasm without failing the contract @param code - the exit code Example:
@code eosio_exit(0); eosio_exit(1); eosio_exit(2); eosio_exit(3); @endcode