-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work ondevexp-warningIssues with the analyzer's Warning codesIssues with the analyzer's Warning codeslegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
This tracker is for issues related to Analyzer.
Summary
Some exceptions were thrown due to unknown reasons, we managed to catch them but the stack trace was unable to locate the root cause of the issue.
Invalid argument(s) (onError): The error handler of Future.catchError must return a value of the future's type
#0 _FutureListener.handleError (dart:async/future_impl.dart:181)
#1 Future._propagateToListeners.handleError (dart:async/future_impl.dart:778)
#2 Future._propagateToListeners (dart:async/future_impl.dart:799)
#3 Future._completeError (dart:async/future_impl.dart:574)
#4 _SyncCompleter._completeError (dart:async/future_impl.dart:51)
#5 _Completer.completeError (dart:async/future_impl.dart:23)
#6 Future.any.onError (dart:async/future.dart:616)
#7 _rootRunBinary (dart:async/zone.dart:1450)
#8 _CustomZone.runBinary (dart:async/zone.dart:1342)
#9 _FutureListener.handleError (dart:async/future_impl.dart:162)
#10 Future._propagateToListeners.handleError (dart:async/future_impl.dart:778)
#11 Future._propagateToListeners (dart:async/future_impl.dart:799)
#12 Future._completeError (dart:async/future_impl.dart:574)
#13 Future._chainForeignFuture.<anonymous closure> (dart:async/future_impl.dart:519)
#14 _rootRun (dart:async/zone.dart:1426)
#15 _CustomZone.run (dart:async/zone.dart:1328)
#16 _CustomZone.runGuarded (dart:async/zone.dart:1236)
#17 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1276)
#18 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#19 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
Expect behavior
Reports the precise cause of the error.
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work ondevexp-warningIssues with the analyzer's Warning codesIssues with the analyzer's Warning codeslegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug