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
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