OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library yaml.exception; | |
6 | |
7 import 'package:source_span/source_span.dart'; | 5 import 'package:source_span/source_span.dart'; |
8 | 6 |
9 /// An error thrown by the YAML processor. | 7 /// An error thrown by the YAML processor. |
10 class YamlException extends SourceSpanFormatException { | 8 class YamlException extends SourceSpanFormatException { |
11 YamlException(String message, SourceSpan span) | 9 YamlException(String message, SourceSpan span) |
12 : super(message, span); | 10 : super(message, span); |
13 } | 11 } |
14 | 12 |
OLD | NEW |