Module

isGatewayTimeout

Validate HTTP Status code 504 type SERVER ERROR

Parameters:
Name Type Description
statusCode Integer

The HTTP Status code

View Source server-error/is-gateway-timeout.js, line 3

When the statusCode is different then 504

HTTPStatusError
Boolean