DocumentErrorEvent class final

Emitted when a document fails to load.

error contains a human-readable description of the failure.

Reaching a subscriber requires already holding the controller, which a failed load never surfaces on its own — onControllerReady doesn't fire. Views that take a per-view adapter get this event; otherwise use NutrientInstantView.onDocumentLoadFailed, which carries the same failure as a DocumentLoadFailure with the native error type and code.

Inheritance

Constructors

DocumentErrorEvent(String error)
const

Properties

error → String
final
hashCode → int
The hash code for this object.
no setterinherited
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