Class: AuthenticationError

AuthenticationError(options)

new AuthenticationError(options)

Create a new AuthenticationError object

Parameters:
Name Type Description
options Object
Properties
Name Type Attributes Default Description
message String <optional>
Authentication Error

Custom error message

$metadata String <optional>
{httpStatusCode: 401}

Custom $metadata

$fault String

Custom $fault

Example
throw new AuthenticationError();