MissingKeyException

Exception thrown when a required key is missing

Constructors

this
this(string path, string key, Mark position, string file, size_t line)

Constructor

Members

Functions

formatMessage
void formatMessage(SinkType sink, FormatSpec!char spec)

Format the message with or without colors

Inherited Members

From ConfigException

yamlPosition
Mark yamlPosition;

Position at which the error happened

path
string path;

The path at which the key resides

key
string key;

If non-empty, the key under 'path' which triggered the error If empty, the key should be considered part of 'path'

toString
string toString()
void toString(void delegate(in char[]) sink)
void toString(SinkType sink, FormatSpec!char spec)

Overrides Throwable.toString and its sink overload

formatMessage
void formatMessage(SinkType sink, FormatSpec!char spec)

Hook called by toString to simplify coloring

Meta