catchError static method
Catch and explicitly handle the error.
Implementation
static void catchError(Object ex) {
if (ex is! Exception) {
ex = Exception(ex.toString());
}
_appState?.catchError(ex);
}
Catch and explicitly handle the error.
static void catchError(Object ex) {
if (ex is! Exception) {
ex = Exception(ex.toString());
}
_appState?.catchError(ex);
}