The error object is the object that is passed to the error event handler function.
error
Error.code
Error.details
Error.message