Variable serverErrorsConst Category

serverErrors: Readonly<Range> = ...

A Range of 5xx HTTP response status codes.

See

MDN docs

Example

if (Http.StatusRange.serverErrors.has(statusCode)) {
// ...
}

HTTP