Crate near_vm_errors[][src]

Expand description


Error that can occur inside Near Runtime encapsulated in a separate crate. Might merge it later.



Serializable version of FunctionCallError. Must never reorder/remove elements, can only add new variants at the end (but do that very carefully). This type must be never used directly, and must be converted to ContractCallError instead using into() converter. It describes stable serialization format, and only used by serialization logic.

An error that is caused by an operation on an inconsistent state. E.g. a deserialization error or an integer overflow.

Error that can occur while preparing or executing Wasm smart-contract.

A kind of a trap happened during execution of a binary