The errors of HTTP APIs (Effect's HttpApiError): one schema error
class per common status, each answering with its empty response; typed
RFC 9457 problems (Problem); and the errors the server makes when a
request or response does not fit its schemas.
Values#
| Attribute | Type | Description |
|---|---|---|
BadRequestNoContent | Bottom[BadRequest, None, Never, Never] | |
UnauthorizedNoContent | Bottom[Unauthorized, None, Never, Never] | |
ForbiddenNoContent | Bottom[Forbidden, None, Never, Never] | |
NotFoundNoContent | Bottom[NotFound, None, Never, Never] | |
MethodNotAllowedNoContent | Bottom[MethodNotAllowed, None, Never, Never] | |
NotAcceptableNoContent | Bottom[NotAcceptable, None, Never, Never] | |
RequestTimeoutNoContent | Bottom[RequestTimeout, None, Never, Never] | |
ConflictNoContent | Bottom[Conflict, None, Never, Never] | |
GoneNoContent | Bottom[Gone, None, Never, Never] | |
UnprocessableEntityNoContent | Bottom[UnprocessableEntity, None, Never, Never] | |
InternalServerErrorNoContent | Bottom[InternalServerError, None, Never, Never] | |
NotImplementedNoContent | Bottom[NotImplemented, None, Never, Never] | |
ServiceUnavailableNoContent | Bottom[ServiceUnavailable, None, Never, Never] | |
PROBLEM_ISSUE | StructSchema[ProblemIssue, Never, Never] | The schema of a |
Types#
| Type | Definition | Description |
|---|---|---|
SchemaErrorKind | type SchemaErrorKind = Literal['Params', 'Headers', 'Query', 'Body', 'Payload', 'ResponseHeaders'] |