catchZoneErrors static method
Implementation
static void catchZoneErrors(Object? error, StackTrace? stackTrace) {
if (error is HumanException) {
errorStreamController.add(error);
} else {
errorStreamController.add([error, stackTrace].toHumanException(error.toString()));
}
logError('Zone error catch', error: error, stackTrace: stackTrace);
}