Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/http/mod.ts>ClientErrorStatus

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
type alias ClientErrorStatus
import { type ClientErrorStatus } from "https://deno.land/std@0.147.0/http/mod.ts";

An HTTP status that is a client error (4XX).

definition:
| Status.BadRequest
| Status.Unauthorized
| Status.PaymentRequired
| Status.Forbidden
| Status.NotFound
| Status.MethodNotAllowed
| Status.NotAcceptable
| Status.ProxyAuthRequired
| Status.RequestTimeout
| Status.Conflict
| Status.Gone
| Status.LengthRequired
| Status.PreconditionFailed
| Status.RequestEntityTooLarge
| Status.RequestURITooLong
| Status.UnsupportedMediaType
| Status.RequestedRangeNotSatisfiable
| Status.ExpectationFailed
| Status.Teapot
| Status.MisdirectedRequest
| Status.UnprocessableEntity
| Status.Locked
| Status.FailedDependency
| Status.UpgradeRequired
| Status.PreconditionRequired
| Status.TooManyRequests
| Status.RequestHeaderFieldsTooLarge
| Status.UnavailableForLegalReasons