Arguments.errors

Use this method to replace the default error messages. Note that arguments are passed to the formatter in the following order, and these should be indexed appropriately by each of the error messages (see examples in errmsg above):

index 0: the argument name
index 1: number of parameters
index 2: configured minimum parameters
index 3: configured maximum parameters
index 4: conflicting/dependent argument (or invalid param)
index 5: array of configured parameter options
  1. char[] errors(char[] delegate(char[] buf, const(char)[] fmt, ...) dg)
  2. Arguments errors(const(char[])[] errors)
    class Arguments
    final
    errors
    (
    const(char[])[] errors
    )

Meta