Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ID_name = map[int32]string{ 0: "EXIT", 1: "NO_FUNCTION", 2: "SUSPENDED", 3: "UNREACHABLE", 4: "CALL_STACK_EXHAUSTED", 5: "MEMORY_ACCESS_OUT_OF_BOUNDS", 6: "INDIRECT_CALL_INDEX_OUT_OF_BOUNDS", 7: "INDIRECT_CALL_SIGNATURE_MISMATCH", 8: "INTEGER_DIVIDE_BY_ZERO", 9: "INTEGER_OVERFLOW", 10: "BREAKPOINT", 27: "ABI_DEFICIENCY", 28: "ABI_VIOLATION", 29: "INTERNAL_ERROR", 30: "KILLED", } ID_value = map[string]int32{ "EXIT": 0, "NO_FUNCTION": 1, "SUSPENDED": 2, "UNREACHABLE": 3, "CALL_STACK_EXHAUSTED": 4, "MEMORY_ACCESS_OUT_OF_BOUNDS": 5, "INDIRECT_CALL_INDEX_OUT_OF_BOUNDS": 6, "INDIRECT_CALL_SIGNATURE_MISMATCH": 7, "INTEGER_DIVIDE_BY_ZERO": 8, "INTEGER_OVERFLOW": 9, "BREAKPOINT": 10, "ABI_DEFICIENCY": 27, "ABI_VIOLATION": 28, "INTERNAL_ERROR": 29, "KILLED": 30, } )
Enum value maps for ID.
View Source
var File_gate_pb_trap_trap_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ID ¶
type ID int32
const ( // These correspond to constants in Go package gate.computer/wag/trap: ID_EXIT ID = 0 ID_NO_FUNCTION ID = 1 ID_SUSPENDED ID = 2 ID_UNREACHABLE ID = 3 ID_CALL_STACK_EXHAUSTED ID = 4 ID_MEMORY_ACCESS_OUT_OF_BOUNDS ID = 5 ID_INDIRECT_CALL_INDEX_OUT_OF_BOUNDS ID = 6 ID_INDIRECT_CALL_SIGNATURE_MISMATCH ID = 7 ID_INTEGER_DIVIDE_BY_ZERO ID = 8 ID_INTEGER_OVERFLOW ID = 9 ID_BREAKPOINT ID = 10 // Gate-specific: ID_ABI_DEFICIENCY ID = 27 ID_ABI_VIOLATION ID = 28 ID_INTERNAL_ERROR ID = 29 ID_KILLED ID = 30 )
func (ID) Descriptor ¶
func (ID) Descriptor() protoreflect.EnumDescriptor
func (ID) EnumDescriptor
deprecated
func (ID) Number ¶
func (x ID) Number() protoreflect.EnumNumber
func (ID) Type ¶
func (ID) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.