How do I Add Info to error callbacks when resetting Android connections using a disconnectAndResubscribe?

disconnectAndResubscribe is useful for bouncing the connection to PubNub upon occurrence of network changes.

As each network connectivity event occurs, it fires disconnectAndResubscribe which subsequently calls the errorCallback. Therefore, to pad the errorCallback with a message, call disconnectAndResubscribe with an argument, such as, disconnectAndResubscribe("A connectivity event has occurred.").  

NOTE : you should not call disconnectAndResubscribe from errorCallback since it will cause a recursion and stack overflow.