summaryrefslogtreecommitdiff
path: root/error.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2017-05-29 21:57:25 +0200
committerAnthon van der Neut <anthon@mnt.org>2017-05-29 21:57:25 +0200
commit6ba66a44af41d072f5ceddfcdf2c21611c2a7cd0 (patch)
tree1d6ce2221f7e08e831b9955b23c361d6dd84b124 /error.py
parent37721c337037bda3136e964b1eb5972e2587b4a0 (diff)
downloadruamel.yaml-6ba66a44af41d072f5ceddfcdf2c21611c2a7cd0.tar.gz
preserve value type, support pathlib.Path as stream
Diffstat (limited to 'error.py')
-rw-r--r--error.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/error.py b/error.py
index 65a7a97..910e13b 100644
--- a/error.py
+++ b/error.py
@@ -126,6 +126,9 @@ class MarkedYAMLError(YAMLError):
return '\n'.join(lines)
+class YAMLStreamError(Exception):
+ pass
+
class ReusedAnchorWarning(Warning):
pass