JsAppErrorKind enum

Classification of one captured JS error.

Inheritance
Available extensions

Values

showError → const JsAppErrorKind

jsr.showError — the runtime's own crash overlay (load-time throws from the eval wrapper reach the screen through it).

callback → const JsAppErrorKind

An exception in a timer/animation-frame callback (the bridge swallows these silently today — captured by the bootstrap wrapper).

onerror → const JsAppErrorKind

window.onerror — uncaught exceptions anywhere else.

unhandledRejection → const JsAppErrorKind

unhandledrejection — a rejected promise with no handler.

render → const JsAppErrorKind

The host's render/build of the app's UI tree threw.

bootstrap → const JsAppErrorKind

The engine failed to start at all (bootstrap failure).

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<JsAppErrorKind>
A constant List of the values in this enum, in order of their declaration.