validateFilesExist

Validates that the files exist.

void
validateFilesExist
(
R
)
(,
lazy string msg = "cannot open file `%s`"
)
if (
isInputRange!R
)

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