By convention, LoopBack passes an
Error object to callback functions as the
For more information, see
- Error Handling in Node.js (Joyent)
- What is the error object? (Nodejitsu)
The following table describes the properties of the error object.
|Name of the error.
|When the error occurs during an HTTP request, the HTTP status code.
|The error message.
Any other properties of the error object are copied to the error output, unless you are using strong-error-handler, in which case you may need to whitelist the properties you wish to add.