HttpError class abstract
- Inheritance
-
- Object
- RequestError
- HttpError
- Implementers
- BadGatewayHttpError
- BadRequestHttpError
- ConflictHttpError
- ExpectationFailedHttpError
- FailedDependencyHttpError
- ForbiddenHttpError
- GatewayTimeoutHttpError
- GoneHttpError
- HttpVersionNotSupportedHttpError
- InsufficientStorageHttpError
- InternalServerErrorHttpError
- LengthRequiredHttpError
- LockedHttpError
- LoopDetectedHttpError
- MethodNotAllowedHttpError
- NetworkAuthenticationRequiredHttpError
- NotAcceptableHttpError
- NotExtendedHttpError
- NotFoundHttpError
- NotImplementedHttpError
- PayloadTooLargeHttpError
- PaymentRequiredHttpError
- PreconditionFailedHttpError
- PreconditionRequiredHttpError
- ProxyAuthenticationRequiredHttpError
- RangeNotSatisfiableHttpError
- RequestHeaderFieldsTooLargeHttpError
- RequestTimeoutHttpError
- ServiceUnavailableHttpError
- TooEarlyHttpError
- TooManyRequestsHttpError
- UnauthorizedHttpError
- UnavailableForLegalReasonsHttpError
- UnknownHttpError
- UnprocessableEntityHttpError
- UnsupportedMediaTypeHttpError
- UpgradeRequiredHttpError
- UriTooLongHttpError
- VariantAlsoNegotiatesHttpError
Constructors
- HttpError({required int statusCode, required String cause, required StackTrace stackTrace})
-
const
Properties
- cause → String
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace
-
finalinherited
- statusCode → int
-
final
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
Static Methods
-
fromStatusCode(
{required int statusCode, required String cause, required StackTrace stackTrace}) → HttpError