Closed
Description
Invalid argument(s): handleError callback must take either an Object (the error), or both an Object (the error)
Exceptions:
Error subscibe to live query Invalid argument(s): handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace. #0 _BufferingStreamSubscription.onError (dart:async/stream_impl.dart:150:7)
#1 new _BufferingStreamSubscription (dart:async/stream_impl.dart:113:10)
#2 new _ForwardingStreamSubscription (dart:async/stream_pipe.dart:121:9)
#3 _ForwardingStream._createSubscription (dart:async/stream_pipe.dart:91:16)
#4 _ForwardingStream.listen (dart:async/stream_pipe.dart:86:12)
#5 LiveQuery.subscribe (package:parse_server_sdk/src/network/parse_live_query.dart:78:23)
<asynchronous suspension>
Code:
var live = LiveQuery();
final query = QueryBuilder<ParseObject>(ParseObject('Coins'));
live.subscribe(query).catchError(
(e, trace) => print('Error subscibe to live query $e $trace'));
SDK Version:
version: 1.0.22
Metadata
Metadata
Assignees
Labels
No labels