blob: f75dd2ff8ea91384d96a2a3f887d5e15cfd1d381 [file] [log] [blame]
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:analyzer/exception/exception.dart';
/// Exception that wraps another exception, and includes the content of
/// files that might be related to the exception, and help to identify the
/// issue and fix it.
class CaughtExceptionWithFiles extends CaughtException {
final Map<String, String> fileContentMap;
CaughtExceptionWithFiles(
super.exception,
super.stackTrace,
this.fileContentMap,
);
}