trap

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2022 License: BSD-3-Clause Imports: 1 Imported by: 2

Documentation

Overview

Package trap enumerates trap identifiers.

Index

Constants

View Source
const (
	Exit       = ID(iota)
	NoFunction // Recoverable (nonportable).
	Suspended  // Recoverable (portable).
	Unreachable
	CallStackExhausted // Recoverable (portable).
	MemoryAccessOutOfBounds
	IndirectCallIndexOutOfBounds
	IndirectCallSignatureMismatch
	IntegerDivideByZero
	IntegerOverflow
	Breakpoint // Recoverable (portable).

	NumTraps
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ID added in v0.32.0

type ID int

func (ID) Error added in v0.32.0

func (id ID) Error() string

func (ID) String added in v0.32.0

func (id ID) String() string

Jump to

Keyboard shortcuts

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