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()
  2. void toString(void delegate(in char[]) sink)
  3. void toString(SinkType sink, FormatSpec!char spec)
    class ConfigException
    const scope @safe
    void
    toString
    (,
    in FormatSpec!char spec
    )

Parameters

sink SinkType

The sink to send the piece-meal string to

spec FormatSpec!char

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