async_builder icon indicating copy to clipboard operation
async_builder copied to clipboard

Unhandled Exception After setState

Open AgustinV08 opened this issue 4 years ago • 1 comments

After calling setState and setting the future with an error, in console appears Unhandled Exception,

Is there a way to refresh the future after an error without an unhandled exception appears because another error was received by the future?

AgustinV08 avatar Jul 21 '21 23:07 AgustinV08

Exceptions emitted from the future are printed to the console by default unless you explicitly provide an error builder or set silent to true.

Refreshing is out of the scope of this package and should generally be handled by your business logic.

pingbird avatar Jul 22 '21 20:07 pingbird