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 /// An error thrown by the YAML processor. | 7 /// An error thrown by the YAML processor. |
8 class YamlException implements Exception { | 8 class YamlException implements Exception { |
9 final String _msg; | 9 final String _msg; |
10 | 10 |
11 YamlException(this._msg); | 11 YamlException(this._msg); |
12 | 12 |
13 String toString() => _msg; | 13 String toString() => _msg; |
14 } | 14 } |
15 | 15 |
OLD | NEW |