Error Event
This event is fired when the server detects an error.
Syntax
smpp.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
If the server sends an error not related to a command sent from the class, the class will fire an Error event containing information related to the error.
ErrorCode will contain the code sent by the server, and Description will contain a standard interpretation of that code.