Chinese Documentation : Error object

By convention, pass an Error object passed to callback functions as the err parameter.  In many cases, you can also pass a String.

For more information, see

The following table describes the properties of the error object.

PropertyTypeDescription
nameStringName of the error.
statusStringWhen the error occurs during an HTTP request, the HTTP status code.
messageStringThe error message.
Icon

Any other properties of the error object are copied to the error output.