legate::io::hdf5::InvalidDataSetError#

class InvalidDataSetError : public std::invalid_argument#

An exception thrown when an invalid dataset is encountered in an HDF5 file.

Public Functions

InvalidDataSetError(
const std::string &what,
std::filesystem::path path,
std::string dataset_name
)#

Construct an InvalidDataSetError.

Parameters:
  • what – The exception string to forward to the constructor of std::invalid_argument.

  • path – The path to the HDF5 file containing the dataset.

  • dataset_name – The name of the offending dataset.

const std::filesystem::path &path() const noexcept#

Get the path to the file containing the dataset.

Returns:

The path to the file containing the dataset.

std::string_view dataset_name() const noexcept#

Get the name of the dataset.

Returns:

The name of the dataset.