[][src]Type Definition pallet_contracts::StatusCode

type StatusCode = u8;

A status code return to the source of a contract call or instantiation indicating success or failure. A code of 0 indicates success and that changes are applied. All other codes indicate failure and that changes are reverted. The particular code in the case of failure is opaque and may be interpreted by the calling contract.