Error Event
Reports information about errors during request processing or signing.
Syntax
dcauth.on('Error', [callback])
Callback
The 'callback' is called when the 'Error' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.errorCode e.description
Remarks
The event is fired if an error occurs during the request processing. Use the ErrorCode and Description parameters to get the details.