jserror

package
v1.0.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrNotImplemented ErrNotImplemented error
	ErrNotImplemented = errors.New("Browser not implemented Error")
	ErrNotAnError     = errors.New("Object is not Error")
)

Functions

func GetInterface

func GetInterface() js.Value

GetJSInterface get the Error interface

Types

type JSError

type JSError struct {
	baseobject.BaseObject
}

JSError JSError struct

func New

func New(value interface{}) (JSError, error)

func NewFromJSObject

func NewFromJSObject(obj js.Value) (JSError, error)

func (JSError) DomException_

func (e JSError) DomException_() JSError

type JSErrorFrom

type JSErrorFrom interface {
	JSError_() JSError
}

Jump to

Keyboard shortcuts

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