All YAML exceptions now keep track of file and line they've been
thrown at, making debugging easier.
This commit is contained in:
parent
34b11405d4
commit
8360da733d
9 changed files with 57 additions and 36 deletions
|
@ -61,12 +61,7 @@ package:
|
|||
*/
|
||||
class ScannerException : MarkedYAMLException
|
||||
{
|
||||
this(string context, Mark contextMark, string problem, Mark problemMark)
|
||||
{
|
||||
super(context, contextMark, problem, problemMark);
|
||||
}
|
||||
|
||||
this(string problem, Mark problemMark){super(problem, problemMark);}
|
||||
mixin MarkedExceptionCtors;
|
||||
}
|
||||
|
||||
///Generates tokens from data provided by a Reader.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue