Arguments.errors

Replaces the default error messages with the given string. 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 the 'errmsg' variable for the format string):

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. istring errors()
  2. Arguments errors(const(istring)[] errors)
    class Arguments
    errors
    (
    const(istring)[] errors
    )

Parameters

errors const(istring)[]

string to replace the default error messages with

Return Value

Type: Arguments

this object for method chaining

Meta