AuthFailure class final
Authentication failed (401). Token may be expired or invalid.
- Inheritance
-
- Object
- ChatFailure
- AuthFailure
Constructors
- AuthFailure([String message = 'Authentication failed', String? errorToken])
-
const
Properties
- errorToken → String?
-
Stable symbolic error code from the server's closed vocabulary, or
nullwhen none was provided. See ChatErrorTokens for the well-known values the SDK itself reasons about; the full set is server-owned and may grow without an SDK change.finalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
finalinherited
- 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