dyaml.exception

Exceptions thrown by D:YAML and exception related code.

class YAMLException: object.Exception;

Base class for all exceptions thrown by D:YAML.

pure nothrow @trusted 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.

pure nothrow @safe this(const uint line, const uint column);

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

const pure @trusted string toString();

Get a string representation of the mark.