Elements
5.8
A C++ base framework for the Euclid Software.
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
ElementsKernel
ElementsKernel
Exit.h
Go to the documentation of this file.
1
26
#ifndef ELEMENTSKERNEL_ELEMENTSKERNEL_EXIT_H_
27
#define ELEMENTSKERNEL_ELEMENTSKERNEL_EXIT_H_
28
29
30
#include <type_traits>
31
32
namespace
Elements {
33
97
enum class
ExitCode
: int {
98
99
OK
= 0,
100
101
NOT_OK
= 1,
102
103
USAGE
= 64,
104
DATAERR
= 65,
105
NOINPUT
= 66,
106
NOUSER
= 67,
107
NOHOST
= 68,
108
UNAVAILABLE
= 69,
109
SOFTWARE
= 70,
110
OSERR
= 71,
111
OSFILE
= 72,
112
CANTCREAT
= 73,
113
IOERR
= 74,
114
TEMPFAIL
= 75,
115
PROTOCOL
= 76,
116
NOPERM
= 77,
117
CONFIG
= 78
118
119
};
120
122
using
ExitCodeType
=
std::underlying_type<ExitCode>::type
;
123
124
}
// namespace Elements
125
126
#endif // ELEMENTSKERNEL_ELEMENTSKERNEL_EXIT_H_
127
Elements::ExitCode::CANTCREAT
can't create (user) output file
Elements::ExitCode::NOT_OK
Generic unknown failure.
Elements::ExitCode::TEMPFAIL
temp failure; user is invited to retry
Elements::ExitCode::NOPERM
permission denied
Elements::ExitCode::NOHOST
host name unknown
Elements::ExitCode::UNAVAILABLE
service unavailable
Elements::ExitCodeType
std::underlying_type< ExitCode >::type ExitCodeType
Underlying type of the ExitCode class.
Definition:
Exit.h:122
Elements::ExitCode::CONFIG
configuration error
Elements::ExitCode::USAGE
command line usage error
Elements::ExitCode::OK
Everything is OK.
std::underlying_type
Elements::ExitCode::OSFILE
critical OS file missing
Elements::ExitCode
ExitCode
Strongly typed exit numbers.
Definition:
Exit.h:97
Elements::ExitCode::PROTOCOL
remote error in protocol
Elements::ExitCode::IOERR
input/output error
Elements::ExitCode::NOINPUT
cannot open input
Elements::ExitCode::SOFTWARE
internal software error
Elements::ExitCode::NOUSER
addressee unknown
Elements::ExitCode::DATAERR
data format error
Elements::ExitCode::OSERR
system error (e.g., can't fork)
Generated by
1.8.5