Arguments.errors

Construct a string of error messages, using the given delegate to format the output. You would typically pass the system formatter here, like so:

auto msgs = args.errors (&stderr.layout.sprint);

The messages are replacable with custom (i18n) versions instead, using the errors(char[][]) method

  1. char[] errors(char[] delegate(char[] buf, const(char)[] fmt, ...) dg)
    class Arguments
    final
    char[]
    errors
    (
    char[] delegate
    (
    char[] buf
    ,
    const(char)[] fmt
    ,)
    dg
    )
  2. Arguments errors(const(char[])[] errors)

Meta