@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Error")
public class JsError
extends JsObject
| Constructor and Description |
|---|
JsError()
The Error constructor creates an error object.
|
JsError(java.lang.String message)
The Error constructor creates an error object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
message()
The message property is a human-readable description of the error.
|
java.lang.String |
name()
The name property represents a name for the type of error.
|
java.lang.String |
stack()
The non-standard stack property of Error objects offer a trace of which functions were called, in what order, from which line and file, and with what arguments.
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic JsError(@Nonnull
java.lang.String message)
public JsError()
@JsProperty(name="message") @Nonnull public java.lang.String message()
@JsProperty(name="name") @Nonnull public java.lang.String name()
@JsProperty(name="stack") @Nonnull public java.lang.String stack()