validateFilesExist

Validates that the files exist.

  1. void validateFilesExist(R files, string msg)
    void
    validateFilesExist
    (
    R
    )
    (,
    lazy string msg = "cannot open file `%s`"
    )
    if (
    isInputRange!R
    )
  2. void validateFileExists(S file, string msg)

Parameters

files R

File names of the files to be tested.

msg string

Error details in case of failure

Throws

darg_plus.exception.ValidationError unless rangeString is null or 0 <= x && x < y.

See Also

validate, std.file.exists

Meta