shouldReportToCrashlytics function
- Object error
Whether an error is expected to occur when the device cannot reach a network service and should therefore be excluded from Crashlytics errors.
Implementation
bool shouldReportToCrashlytics(Object error) => !isNetworkError(error);