Variable httpStatusToCategoryConst

httpStatusToCategory: {
    "100": Information;
    "101": Information;
    "102": Information;
    "103": Information;
    "200": Success;
    "201": Success;
    "202": Success;
    "203": Success;
    "204": Success;
    "205": Success;
    "206": Success;
    "207": Success;
    "208": Success;
    "226": Success;
    "300": Redirect;
    "301": Redirect;
    "302": Redirect;
    "303": Redirect;
    "304": Redirect;
    "305": Redirect;
    "306": Redirect;
    "307": Redirect;
    "308": Redirect;
    "400": ClientError;
    "401": ClientError;
    "402": ClientError;
    "403": ClientError;
    "404": ClientError;
    "405": ClientError;
    "406": ClientError;
    "407": ClientError;
    "408": ClientError;
    "409": ClientError;
    "410": ClientError;
    "411": ClientError;
    "412": ClientError;
    "413": ClientError;
    "414": ClientError;
    "415": ClientError;
    "416": ClientError;
    "417": ClientError;
    "418": ClientError;
    "421": ClientError;
    "422": ClientError;
    "423": ClientError;
    "424": ClientError;
    "425": ClientError;
    "426": ClientError;
    "428": ClientError;
    "429": ClientError;
    "431": ClientError;
    "451": ClientError;
    "500": ServerError;
    "501": ServerError;
    "502": ServerError;
    "503": ServerError;
    "504": ServerError;
    "505": ServerError;
    "506": ServerError;
    "507": ServerError;
    "508": ServerError;
    "510": ServerError;
    "511": ServerError;
} = ...

All standardized HTTP statuses mapped to their respective category.

Type declaration