Constructor
Format the message with or without colors
The actual (in the YAML document) type of the node
The expected (as specified in the D type) type
Position at which the error happened
The path at which the key resides
If non-empty, the key under 'path' which triggered the error If empty, the key should be considered part of 'path'
Overrides Throwable.toString and its sink overload
Hook called by toString to simplify coloring
Exception thrown when the type of the YAML node does not match the D type