Class: NotFoundError

NotFoundError(options)

new NotFoundError(options)

Create a new NotFoundError object

Parameters:
Name Type Description
options Object
Properties
Name Type Attributes Default Description
message String <optional>
Not Found

Custom error message

$metadata String <optional>
{httpStatusCode: 404}

Custom $metadata

$fault String

Custom $fault

Example
throw new NotFoundError();