sendErrorWithoutStacktrace static method
void
sendErrorWithoutStacktrace(
- dynamic error
Send an error without stacktrace to Catcher
This function has to be used to handle all errors in the app
Implementation
static void sendErrorWithoutStacktrace(dynamic error) {
try {
throw (error);
} catch (_error, stacktrace) {
if (PUtils.isOnTest()) throw (error);
Catcher.reportCheckedError(error, stacktrace);
}
}