WRENCH
1.10
Cyberinfrastructure Simulation Workbench
Overview
Installation
Getting Started
WRENCH 101
WRENCH 102
APIs Reference
User
Developer
Internal
include
wrench
workflow
failure_causes
HostError.h
1
10
#ifndef WRENCH_HOST_ERROR_H
11
#define WRENCH_HOST_ERROR_H
12
13
#include <set>
14
#include <string>
15
16
#include "wrench/services/Service.h"
17
#include "wrench/services/storage/StorageService.h"
18
#include "wrench/services/compute/ComputeService.h"
19
20
namespace
wrench
{
21
22
/***********************/
24
/***********************/
25
29
class
HostError
:
public
FailureCause
{
30
public
:
31
32
/***********************/
34
/***********************/
35
HostError
(std::string hostname);
36
37
/***********************/
39
/***********************/
40
41
std::string
toString
();
42
43
private
:
44
std::string hostname;
45
};
46
47
48
/***********************/
50
/***********************/
51
};
52
53
54
#endif //WRENCH_HOST_ERROR_H
wrench::HostError
A "host error" failure cause (e.g., attempted to start a daemon on a host that is off)
Definition:
HostError.h:29
wrench
Definition:
Alarm.cpp:20
wrench::FailureCause
A top-level class to describe all simulation-valid failures that can occur during workflow execution ...
Definition:
FailureCause.h:31
wrench::HostError::toString
std::string toString()
Get the human-readable failure message.
Definition:
HostError.cpp:30