isUnauthorized

Validate HTTP Status code 401 type CLIENT ERROR

Source:
Parameters:
Name Type Description
statusCode Integer

The HTTP Status code

Throws:

When the statusCode is different then 401

Type
HTTPStatusError
Returns:
Type
Boolean