WRENCH
1.10
Cyberinfrastructure Simulation Workbench
Overview
Installation
Getting Started
WRENCH 101
WRENCH 102
APIs Reference
User
Developer
Internal
include
wrench
workflow
failure_causes
FailureCause.h
1
10
#ifndef WRENCH_FAILURECAUSE_H
11
#define WRENCH_FAILURECAUSE_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
31
class
FailureCause {
32
33
public
:
34
35
FailureCause() =
default
;
36
37
/***********************/
39
/***********************/
40
virtual
~FailureCause() =
default
;
41
/***********************/
43
/***********************/
44
50
virtual
std::string
toString
() = 0;
51
52
};
53
54
/***********************/
56
/***********************/
57
};
58
59
60
#endif //WRENCH_FAILURECAUSE_H
wrench::toString
std::string toString()
Return an error message that describes the failure cause (to be overridden)
Definition:
FileLocation.cpp:116
wrench
Definition:
Alarm.cpp:20