INNER CODE UNIT · Dart

reportCheckedError

jhomlala/catcher · lib/core/catcher.dart:494

  static void reportCheckedError(dynamic error, dynamic stackTrace) {
    dynamic errorValue = error;
    dynamic stackTraceValue = stackTrace;
    errorValue ??= 'undefined error';
    stackTraceValue ??= StackTrace.current;
    _instance._reportError(error, stackTrace);
  }

  Future<void> _reportError(
    dynamic error,
    dynamic stackTrace, {
    FlutterErrorDetails? errorDetails,
  }) async {
    if (errorDetails?.silent ??
        false == true && _currentConfig.handleSilentError == false) {
      _logger.info(
        'Report error skipped for error: $error. HandleSilentError is false.',
      );

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…