trap

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2019 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 // Recoverable (nonportable).  Return address must be adjusted.
	Suspended  // Recoverable (portable).
	Unreachable
	CallStackExhausted // Recoverable (portable).
	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