GitHub

API reference for error.

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

AttributeTypeDescription
BadRequestNoContentBottom[BadRequest, None, Never, Never]
UnauthorizedNoContentBottom[Unauthorized, None, Never, Never]
ForbiddenNoContentBottom[Forbidden, None, Never, Never]
NotFoundNoContentBottom[NotFound, None, Never, Never]
MethodNotAllowedNoContentBottom[MethodNotAllowed, None, Never, Never]
NotAcceptableNoContentBottom[NotAcceptable, None, Never, Never]
RequestTimeoutNoContentBottom[RequestTimeout, None, Never, Never]
ConflictNoContentBottom[Conflict, None, Never, Never]
GoneNoContentBottom[Gone, None, Never, Never]
UnprocessableEntityNoContentBottom[UnprocessableEntity, None, Never, Never]
InternalServerErrorNoContentBottom[InternalServerError, None, Never, Never]
NotImplementedNoContentBottom[NotImplemented, None, Never, Never]
ServiceUnavailableNoContentBottom[ServiceUnavailable, None, Never, Never]
PROBLEM_ISSUEStructSchema[ProblemIssue, Never, Never]

The schema of a ProblemIssue (Effect's ProblemIssue).

Types

TypeDefinitionDescription
SchemaErrorKindtype SchemaErrorKind = Literal['Params', 'Headers', 'Query', 'Body', 'Payload', 'ResponseHeaders']

Classes