dyaml.exception

Exceptions thrown by D:YAML and exception related code.

class YAMLException: object.Exception;

Base class for all exceptions thrown by D:YAML.

this(string msg, string file = __FILE__, int line = __LINE__);

Construct a YAMLException with specified message and position where it was thrown.

struct Mark;

Position in a YAML stream, used for error messages.

this(in const(uint) line, in const(uint) column);

Construct a Mark with specified line and column in the file.

const string toString();

Get a string representation of the mark.