Module

validators/client-error

Validate HTTP Status code 400 type CLIENT ERROR

Parameters:
Name Type Description
statusCode Integer

The HTTP Status code

View Source client-error/is-bad-request.js, line 3

When the statusCode is different then 400

HTTPStatusError
Boolean