ConfigException.toString

Overrides Throwable.toString and its sink overload

It is quite likely that errors from this module may be printed directly to the end user, who might not have technical knowledge.

This format the error in a nicer format (e.g. with colors), and will additionally provide a stack-trace if the ConfigFillerDebug debug version was provided.

More...
  1. string toString()
    class ConfigException
    override scope
    string
    toString
    ()
  2. void toString(void delegate(in char[]) sink)
  3. void toString(SinkType sink, FormatSpec!char spec)

Detailed Description

Format chars

The default format char ("%s") will print a regular message. If an uppercase 's' is used ("%S"), colors will be used.

Meta