WRENCH
1.11
Cyberinfrastructure Simulation Workbench
Overview
Installation
Getting Started
WRENCH 101
WRENCH 102
APIs Reference
User
Developer
Internal
include
wrench
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
()
override
;
42
43
private
:
44
std::string hostname;
45
};
46
47
48
/***********************/
50
/***********************/
51
};
52
53
54
#endif //WRENCH_HOST_ERROR_H
wrench::toString
std::string toString() override
Return an error message that describes the failure cause (to be overridden)
Definition:
ComputeThreadHasDied.cpp:29
wrench
Definition:
Action.cpp:28