| 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; | 5 library yaml.exception; |
| 6 | 6 |
| 7 import 'package:source_maps/source_maps.dart'; | 7 import 'package:source_span/source_span.dart'; |
| 8 | 8 |
| 9 /// An error thrown by the YAML processor. | 9 /// An error thrown by the YAML processor. |
| 10 class YamlException extends SpanFormatException { | 10 class YamlException extends SourceSpanFormatException { |
| 11 YamlException(String message, Span span) | 11 YamlException(String message, SourceSpan span) |
| 12 : super(message, span); | 12 : super(message, span); |
| 13 } | 13 } |
| 14 | 14 |
| OLD | NEW |