errors

package
v0.0.0-...-9d1ad58 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorInvalidAddress     = errors.New("invalid address access")
	ErrorInvalidMnemonic    = errors.New("invalid mnemonic")
	ErrorInvalidOperand     = errors.New("invalid operand")
	ErrorInvalidSymbol      = errors.New("invalid symbol")
	ErrorInvalidInstruction = errors.New("invalid instruction")
	ErrorIllegalInstruction = errors.New("illegal instruction")
	ErrorNotImplemented     = errors.New("not implemented")
)

Functions

func NewAccessError

func NewAccessError(addr uint16, resource string) error

func NewIllegalInstructionError

func NewIllegalInstructionError(opcode byte) error

func NewInvalidGetOperandError

func NewInvalidGetOperandError(operand any) error

func NewInvalidMnemonicError

func NewInvalidMnemonicError(mnemonic string) error

func NewInvalidOperandError

func NewInvalidOperandError(operand any) error

func NewInvalidSetOperandError

func NewInvalidSetOperandError(operand any) error

func NewInvalidSymbolError

func NewInvalidSymbolError(symbol any) error

func NewNotImplementedError

func NewNotImplementedError() error

func NewOperandSymbolError

func NewOperandSymbolError(got, want any) error

func NewReadError

func NewReadError(addr uint16, resource string) error

func NewUnknownOPCodeError

func NewUnknownOPCodeError(opcode byte) error

func NewWriteError

func NewWriteError(addr uint16, resource string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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