Class: PermissionError

PermissionError(options)

new PermissionError(options)

Create a new PermissionError object

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

Custom error message

$metadata String <optional>
{httpStatusCode: 403}

Custom $metadata

$fault String

Custom $fault

Example
throw new PermissionError();