UnauthorizedException class
A 401 the auth layer couldn't recover from.
- Implemented types
- Available extensions
Constructors
-
Creates the exception.
const
Properties
- cause → Object?
-
The original error, for crash reports. Never shown to users.
finalinherited
- code → String
-
module-layer-function-type, such asORD-R-PO-NIC.no setterinherited - function → String
-
The function, such as
POfor "place order".finalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- layer → ExceptionLayer
-
The layer the failure was translated in.
finalinherited
- message → ErrorMessage
-
Who provides the user-facing text.
final
- module → String
-
The feature module, such as
ORD.finalinherited - retryable → bool
-
Whether retrying the same call may succeed.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- typeCode → String
-
The short type code, such as
NIC.no setter
Methods
-
displayMessage(
Localizer? localizer) → String -
Available on SinewException, provided by the DisplayMessage extension
The text a page shows, rendered every time it builds so a language switch updates an error already on screen. -
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