Documentation
¶
Index ¶
- Constants
- func NewArgumentNotBigIntTypeError(r *goja.Runtime, name string) *goja.Object
- func NewArgumentNotNumberTypeError(r *goja.Runtime, name string) *goja.Object
- func NewArgumentNotStringTypeError(r *goja.Runtime, name string) *goja.Object
- func NewArgumentOutOfRangeError(r *goja.Runtime, name string, v any) *goja.Object
- func NewError(r *goja.Runtime, ctor *goja.Object, code string, args ...interface{}) *goja.Object
- func NewNotCorrectTypeError(r *goja.Runtime, name, _type string) *goja.Object
- func NewRangeError(r *goja.Runtime, code string, params ...interface{}) *goja.Object
- func NewTypeError(r *goja.Runtime, code string, params ...interface{}) *goja.Object
Constants ¶
View Source
const ( ErrCodeInvalidArgType = "ERR_INVALID_ARG_TYPE" ErrCodeInvalidArgValue = "ERR_INVALID_ARG_VALUE" ErrCodeInvalidThis = "ERR_INVALID_THIS" ErrCodeMissingArgs = "ERR_MISSING_ARGS" ErrCodeOutOfRange = "ERR_OUT_OF_RANGE" )
Variables ¶
This section is empty.
Functions ¶
func NewNotCorrectTypeError ¶
func NewRangeError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.