Constructor
new RESTError(codeopt, messageopt, innerErroropt)
Creates a new RESTful error with a HTTP-compliant status code.
Parameters
-
code
Number<optional>
A standard HTTP-compliant status code.
-
message
String<optional>
The error message.
-
innerError
Error<optional>
An inner error that was thrown.
Source
Members
codeNumber
Type
-
Number
Source
data*
Type
-
*
Source
innerErrorError
Type
-
Error