wrench::InvalidDirectoryPath

class wrench::InvalidDirectoryPath : public wrench::FailureCause

A “unknown mount point storage service” failure cause.

Public Functions

InvalidDirectoryPath(std::shared_ptr<StorageService> storage_service, std::string invalid_path)

Constructor.

Parameters
  • storage_service – the storage service at which the mount point was unknown

  • invalid_path – the invalid path

std::string getInvalidPath()

Get the invalid path.

Returns

a path

std::shared_ptr<StorageService> getStorageService()

Get the storage service at which the path was invalid.

Returns

a storage service

virtual std::string toString() override

Get the human-readable failure message.

Returns

the message