wrench::FileAlreadyBeingWritten

class FileAlreadyBeingWritten : public wrench::FailureCause

A “file is already being copied” failure cause.

Public Functions

explicit FileAlreadyBeingWritten(std::shared_ptr<FileLocation> location)

Constructor.

Parameters:

location – the location

std::shared_ptr<FileLocation> getLocation()

Getter.

Returns:

the source location

virtual std::string toString() override

Get the human-readable failure message.

Returns:

the message