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

Parameters

sink void delegate
(
in char[]
)

The sink to send the piece-meal string to

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