errors

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrCodeInvalidArgType = "ERR_INVALID_ARG_TYPE"
	ErrCodeInvalidThis    = "ERR_INVALID_THIS"
	ErrCodeMissingArgs    = "ERR_MISSING_ARGS"
)

Variables

This section is empty.

Functions

func NewError

func NewError(r *goja.Runtime, ctor *goja.Object, code string, args ...interface{}) *goja.Object

func NewTypeError

func NewTypeError(r *goja.Runtime, code string, params ...interface{}) *goja.Object

Types

This section is empty.

Jump to

Keyboard shortcuts

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