Skip to content

Add error message with bad file open

Hank requested to merge hankchilds/vtk-m:open_nonexistent_file into master

If VTKDataSetReader was given a filename that pointed to a bad location (i.e., VTKDataSetReader reader("bad/file/name");), then an exception was being thrown that was not informative. With this change, I have modified VTKDataSetReader to issue a meaningful error message, using a vtkm::io::ErrorIO exception.

Merge request reports