AppstraxException class
Base for the errors this SDK raises for an application to act on.
These were all Exception('some prose'), which left callers matching on
the message to tell a expired session from a missing one. The messages are
deliberately unchanged, so code that already does that keeps working, but
the type and code are the supported way to branch.
Constructors
- AppstraxException(String message, {String? code})
-
const
Properties
- code → String?
-
A constant from AuthErrors where one applies, for switching on.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable, and stable: it is what toString has always produced.
final
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited