Module

isServiceUnavailable

Validate HTTP Status code 503 type SERVER ERROR

Parameters:
Name Type Description
statusCode Integer

The HTTP Status code

View Source server-error/is-service-unavailable.js, line 3

When the statusCode is different then 503

HTTPStatusError
Boolean