Called when a connection error occurs. Return null to suppress the error.
null
@override Future<dynamic> onError(dynamic error) async { _logger('[$tag][ERR] $error'); return error; }