Module

isBadGateway

Validate HTTP Status code 502 type SERVER ERROR

Parameters:
Name Type Description
statusCode Integer

The HTTP Status code

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

When the statusCode is different then 502

HTTPStatusError
Boolean