jam_types/
inner_result_code.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// The result code returned by inner PVM invocations.
#[repr(u32)]
pub enum InnerResultCode {
	/// `HALT` Completed normally.
	Halt = 0,
	/// `PANIC` Completed with a panic.
	Panic = 1,
	/// `FAULT` Completed with a page fault.
	PageFault = 2,
	/// `HOST` Completed with a host-call fault.
	HostCallFault = 3,
	/// `OOG` Completed by running out of gas.
	OutOfGas = 4,
}