AuthException class Null safety

Thrown when invalid credentials are passed to any authentication service.

Implemented types

Constructors

AuthException(String message)
A Exception representing some error caused by invalid credentials on a Web-API.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
message String
The exact error message.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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

Constants

invalidCredentialsMessage → const String
'Unauthorized (Bearer token expired or is not correct).'