diff options
Diffstat (limited to 'src/ext_depends/D-YAML/source/dyaml/node.d')
-rw-r--r-- | src/ext_depends/D-YAML/source/dyaml/node.d | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ext_depends/D-YAML/source/dyaml/node.d b/src/ext_depends/D-YAML/source/dyaml/node.d index 5cb318e..e96bcec 100644 --- a/src/ext_depends/D-YAML/source/dyaml/node.d +++ b/src/ext_depends/D-YAML/source/dyaml/node.d @@ -27,7 +27,7 @@ import dyaml.exception; import dyaml.style; /// Exception thrown at node related errors. -class NodeException : YAMLException +class NodeException : MarkedYAMLException { package: // Construct a NodeException. @@ -37,7 +37,7 @@ class NodeException : YAMLException this(string msg, Mark start, string file = __FILE__, size_t line = __LINE__) @safe { - super(msg ~ "\nNode at: " ~ start.toString(), file, line); + super(msg, start, file, line); } } |