wrench::HostError Class Reference

A "host error" failure cause (e.g., attempted to start a daemon on a host that is off) More...

#include <HostError.h>

Inheritance diagram for wrench::HostError:
wrench::FailureCause

Public Member Functions

 HostError (std::string hostname)
 Constructor. More...
 
std::string toString ()
 Get the human-readable failure message. More...
 

Detailed Description

A "host error" failure cause (e.g., attempted to start a daemon on a host that is off)

Constructor & Destructor Documentation

◆ HostError()

wrench::HostError::HostError ( std::string  hostname)

Constructor.

Parameters
hostnamethe name of the host that experienced the error

Member Function Documentation

◆ toString()

std::string wrench::HostError::toString ( )
virtual

Get the human-readable failure message.

Returns
the message

Implements wrench::FailureCause.


The documentation for this class was generated from the following files: