trap

package
v0.12.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2018 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package trap enumerates trap identifiers.

Index

Constants

View Source
const (
	Exit = ID(iota)
	NoFunction
	Suspended
	Unreachable
	CallStackExhausted
	MemoryAccessOutOfBounds
	IndirectCallIndexOutOfBounds
	IndirectCallSignatureMismatch
	IntegerDivideByZero
	IntegerOverflow

	NumTraps
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ID added in v0.9.0

type ID int

func (ID) Error added in v0.9.0

func (id ID) Error() string

func (ID) String added in v0.9.0

func (id ID) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL