BifrostInternalException class final

An unexpected defect raised while RestAPI executes app-supplied code.

Operational transport failures such as ClientException and request timeouts remain the documented null result. This exception is reserved for programming failures in hooks such as resolveHeaders, onUnauthorized, or the request callback itself, so repositories can return a non-recoverable FailureReason.internal instead of misclassifying the defect as a network outage and serving stale cache.

Implemented types

Constructors

BifrostInternalException(Object error, StackTrace stackTrace)
const

Properties

error Object
The original error thrown by app or client code.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace
The original stack trace, preserved across the transport boundary.
final

Methods

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

Operators

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