ServerRequestFailedException class
Thrown when a request to or the response from an authentication service is invalid.
This could indicate invalid credentials.
- Implemented types
Constructors
- ServerRequestFailedException(String message, {int? statusCode, required Object? responseContent})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Describes the failure.
final
- responseContent → Object?
-
Data representing the content of the response, if any.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int?
-
The HTTP status code of the response, if known.
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