onError method

Handles server-initiated synchronization errors that occur while listening.

 Syntax
 Parameters
 Remarks