Variable httpStatusByCategoryConst

httpStatusByCategory: {
    clientError: [
        BadRequest,
        Unauthorized,
        PaymentRequired,
        Forbidden,
        NotFound,
        MethodNotAllowed,
        NotAcceptable,
        ProxyAuthenticationRequired,
        RequestTimeout,
    ];
    information: [Continue, SwitchingProtocols, Processing, EarlyHints];
    redirect: [
        MultipleChoices,
        MovedPermanently,
        Found,
        SeeOther,
        NotModified,
        UseProxy,
        Unused,
        TemporaryRedirect,
        PermanentRedirect,
    ];
    serverError: [
        InternalServerError,
        NotImplemented,
        BadGateway,
        ServiceUnavailable,
        GatewayTimeout,
        HttpVersionNotSupported,
        VariantAlsoNegotiates,
        InsufficientStorage,
        LoopDetected,
        NotExtended,
        NetworkAuthenticationRequired,
    ];
    success: [
        Ok,
        Created,
        Accepted,
        NonAuthoritativeInformation,
        NoContent,
        ResetContent,
        PartialContent,
        MultiStatus,
        AlreadyReported,
        ImUsed,
    ];
} = ...

All standardized HTTP status codes grouped into their respective categories.

Type declaration