FingerlyException class
A failure the caller can act on.
- Implemented types
- Implementers
Constructors
- FingerlyException(String message, {int? status, Duration? retryAfter})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
final
- retryAfter → Duration?
-
How long the server asked the app to wait, from its
Retry-After, when the native SDK gave up on a 429 or 503 that named one. Null when the response named no wait, and on platforms whose native bridge does not pass one on. Wait at least this long before identifying again.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → int?
-
The HTTP status where there was one. The two worth branching on are 401
(the key is wrong) and 402 (the organisation is not accepting traffic) —
both are the customer's configuration rather than the user's, and an app
that retries either drains a battery over a typo.
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