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
Closed
Description
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