http.httpscerr
Modules
http.httpscerr
Module http.httpscerr
API
Definitions
![](https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.11.0.png)
ballerina/http.httpscerr Ballerina library
Overview
This module contains the status code error types.
Records![](/images/permalink.svg)
http.httpscerr: DefaultErrorDetail![](/images/permalink.svg)
Represents the details of an HTTP error.
Fields
- Fields Included from *ErrorDetail
- statusCode int? - The inbound error response status code
http.httpscerr: ErrorDetail![](/images/permalink.svg)
Represents the details of an HTTP error.
Fields
- body anydata? - The error response body
Errors![](/images/permalink.svg)
http.httpscerr: '4XXStatusCodeError![](/images/permalink.svg)
Represents 4XX HTTP status code errors.
http.httpscerr: '5XXStatusCodeError![](/images/permalink.svg)
Represents 5XX HTTP status code errors.
http.httpscerr: BadGatewayError![](/images/permalink.svg)
Represents the HTTP 502 Bad Gateway error.
http.httpscerr: BadRequestError![](/images/permalink.svg)
Represents the HTTP 400 Bad Request error.
http.httpscerr: ConflictError![](/images/permalink.svg)
Represents the HTTP 409 Conflict error.
http.httpscerr: ExpectationFailedError![](/images/permalink.svg)
Represents the HTTP 417 Expectation Failed error.
http.httpscerr: FailedDependencyError![](/images/permalink.svg)
Represents the HTTP 424 Failed Dependency error.
http.httpscerr: ForbiddenError![](/images/permalink.svg)
Represents the HTTP 403 Forbidden error.
http.httpscerr: GatewayTimeoutError![](/images/permalink.svg)
Represents the HTTP 504 Gateway Timeout error.
http.httpscerr: GoneError![](/images/permalink.svg)
Represents the HTTP 410 Gone error.
http.httpscerr: HTTPVersionNotSupportedError![](/images/permalink.svg)
Represents the HTTP 505 HTTP Version Not Supported error.
http.httpscerr: InsufficientStorageError![](/images/permalink.svg)
Represents the HTTP 507 Insufficient Storage error.
http.httpscerr: InternalServerErrorError![](/images/permalink.svg)
Represents the HTTP 500 Internal Server Error error.
http.httpscerr: LengthRequiredError![](/images/permalink.svg)
Represents the HTTP 411 Length Required error.
http.httpscerr: LockedError![](/images/permalink.svg)
Represents the HTTP 423 Locked error.
http.httpscerr: LoopDetectedError![](/images/permalink.svg)
Represents the HTTP 508 Loop Detected error.
http.httpscerr: MethodNotAllowedError![](/images/permalink.svg)
Represents the HTTP 405 Method Not Allowed error.
http.httpscerr: MisdirectedRequestError![](/images/permalink.svg)
Represents the HTTP 421 Misdirected Request error.
http.httpscerr: NetworkAuthenticationRequiredError![](/images/permalink.svg)
Represents the HTTP 511 Network Authentication Required error.
http.httpscerr: NotAcceptableError![](/images/permalink.svg)
Represents the HTTP 406 Not Acceptable error.
http.httpscerr: NotExtendedError![](/images/permalink.svg)
Represents the HTTP 510 Not Extended error.
http.httpscerr: NotFoundError![](/images/permalink.svg)
Represents the HTTP 404 Not Found error.
http.httpscerr: NotImplementedError![](/images/permalink.svg)
Represents the HTTP 501 Not Implemented error.
http.httpscerr: PayloadTooLargeError![](/images/permalink.svg)
Represents the HTTP 413 Payload Too Large error.
http.httpscerr: PaymentRequiredError![](/images/permalink.svg)
Represents the HTTP 402 Payment Required error.
http.httpscerr: PreconditionFailedError![](/images/permalink.svg)
Represents the HTTP 412 Precondition Failed error.
http.httpscerr: PreconditionRequiredError![](/images/permalink.svg)
Represents the HTTP 428 Precondition Required error.
http.httpscerr: ProxyAuthenticationRequiredError![](/images/permalink.svg)
Represents the HTTP 407 Proxy Authentication Required error.
http.httpscerr: RangeNotSatisfiableError![](/images/permalink.svg)
Represents the HTTP 416 Range Not Satisfiable error.
http.httpscerr: RequestHeaderFieldsTooLargeError![](/images/permalink.svg)
Represents the HTTP 431 Request Header Fields Too Large error.
http.httpscerr: RequestTimeoutError![](/images/permalink.svg)
Represents the HTTP 408 Request Timeout error.
http.httpscerr: ServiceUnavailableError![](/images/permalink.svg)
Represents the HTTP 503 Service Unavailable error.
http.httpscerr: StatusCodeError![](/images/permalink.svg)
Represents the HTTP status code error.
http.httpscerr: TooManyRequestsError![](/images/permalink.svg)
Represents the HTTP 429 Too Many Requests error.
http.httpscerr: UnauthorizedError![](/images/permalink.svg)
Represents the HTTP 401 Unauthorized error.
http.httpscerr: UnavailableDueToLegalReasonsError![](/images/permalink.svg)
Represents the HTTP 451 Unavailable For Legal Reasons error.
http.httpscerr: UnprocessableEntityError![](/images/permalink.svg)
Represents the HTTP 422 Unprocessable Entity error.
http.httpscerr: UnsupportedMediaTypeError![](/images/permalink.svg)
Represents the HTTP 415 Unsupported Media Type error.
http.httpscerr: UpgradeRequiredError![](/images/permalink.svg)
Represents the HTTP 426 Upgrade Required error.
http.httpscerr: URITooLongError![](/images/permalink.svg)
Represents the HTTP 414 URI Too Long error.
http.httpscerr: VariantAlsoNegotiatesError![](/images/permalink.svg)
Represents the HTTP 506 Variant Also Negotiates error.
Intersection types![](/images/permalink.svg)
http.httpscerr: DefaultStatusCodeError![](/images/permalink.svg)
DefaultStatusCodeError
Represents the default HTTP status code error.
Import
import ballerina/http.httpscerr;
Metadata
Released date: 2 months ago
Version: 2.11.0
License: Apache-2.0
Compatibility
Platform: java17
Ballerina version: 2201.9.0
GraalVM compatible: Yes
Pull count
Total: 947276
Current verison: 2639
Weekly downloads
Keywords
http
network
service
listener
client
Contributors