ApiUnknownException class final
Failure that does not match another exception category.
- Inheritance
-
- Object
- ApiException
- ApiUnknownException
Constructors
- ApiUnknownException(ApiErrorResult result, {Object? cause, StackTrace? stackTrace})
-
Creates an unknown API exception.
const
Properties
- cause → Object?
-
Original transport or parser failure, when available.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Best localized message for display.
no setterinherited
- result → ApiErrorResult
-
Normalized response data exposed to application code.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
Original stack trace, when available.
finalinherited
- statusCode → int?
-
HTTP status code, when a response was received.
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