errors

package
v0.0.0-...-29b559b Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

View Source
const (
	ErrCodeInvalidArgType  = "ERR_INVALID_ARG_TYPE"
	ErrCodeInvalidArgValue = "ERR_INVALID_ARG_VALUE"
	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