We need some way to know what Exceptions are thrown by a function. It's like the type safety doesn't apply to exceptions, it drives me mad. Or ditch try/catch entirely, I don't know. I use Either in my code, but I can't force third party packages or even the official Flutter SDK to use it. There has to be a better solution #56622
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
cherry-pick-review
Issue that need cherry pick triage to approve
triage-automation
See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot.
type-enhancement
A request for a change that isn't a bug
Commit(s) to merge
unknown
Target
unknown
Prepared changelist for beta/stable
unknown
Issue Description
We need some way to know what Exceptions are thrown by a function. It's like the type safety doesn't apply to exceptions, it drives me mad.
Or ditch try/catch entirely, I don't know. I use Either in my code, but I can't force third party packages or even the official Flutter SDK to use it.
There has to be a better solution)
What is the fix
unknown
Why cherry-pick
unknown
Risk
unknown
Issue link(s)
Not found
Extra Info
Not found
The text was updated successfully, but these errors were encountered: