Class: BadgatewayError

BadgatewayError(options)

new BadgatewayError(options)

Create a new BadgatewayError object

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

Custom error message

$metadata String <optional>
{httpStatusCode: 502}

Custom $metadata

$fault String

Custom $fault

Example
throw new BadgatewayError();