validateFileExists

Validates that the files exist.

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

Parameters

file S

File name of the file 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