wrench::FileNotFound

class FileNotFound : public wrench::FailureCause

A “file was not found” failure cause.

Public Functions

std::shared_ptr<DataFile> getFile()

Get the file that wasn’t found.

Returns:

a file

std::shared_ptr<FileLocation> getLocation()

Get the storage service on which the file wasn’t found.

Returns:

a storage service

virtual std::string toString() override

Get the human-readable failure message.

Returns:

a message