wag: github.com/tsavola/wag/trap Index | Files

package trap

import "github.com/tsavola/wag/trap"

Package trap enumerates trap identifiers.

Index

Package Files

trapid.go

Constants

const (
    Exit       = ID(iota)
    NoFunction // Recoverable (nonportable).  Return address must be adjusted.
    Suspended  // Recoverable (portable).
    Unreachable
    CallStackExhausted // Recoverable (portable).
    MemoryAccessOutOfBounds
    IndirectCallIndexOutOfBounds
    IndirectCallSignatureMismatch
    IntegerDivideByZero
    IntegerOverflow
    Breakpoint // Recoverable (portable).

    NumTraps
)

type ID Uses

type ID int

func (ID) Error Uses

func (id ID) Error() string

func (ID) String Uses

func (id ID) String() string

Package trap imports 1 packages (graph) and is imported by 9 packages. Updated 2020-01-27. Refresh now. Tools for package owners.