PLCnext API Documentation 26.0.1.58
StatusCode.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/Base/Core/Enum.hxx"
9
10// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
11
12namespace Arp::Services::SoftwareUpdate::Services
13{
14
18enum class StatusCode : uint32
19{
23 Good = 0,
24
28 Uncertain = 1073741824,
29
33 Bad = 2147483648,
34
38 BadUnexpectedError = 2147549184,
39
43 BadInternalError = 2147614720,
44
48 BadOutOfMemory = 2147680256,
49
53 BadResourceUnavailable = 2147745792,
54
58 BadCommunicationError = 2147811328,
59
63 BadTimeout = 2148139008,
64
68 BadShutdown = 2148270080,
69
73 BadCertificateInvalid = 2148663296,
74
78 BadSecurityChecksFailed = 2148728832,
79
83 BadCertificatePolicyCheckFailed = 2165571584,
84
88 BadCertificateTimeInvalid = 2148794368,
89
93 BadCertificateIssuerTimeInvalid = 2148859904,
94
98 BadCertificateHostNameInvalid = 2148925440,
99
103 BadCertificateUseNotAllowed = 2149056512,
104
108 BadCertificateIssuerUseNotAllowed = 2149122048,
109
113 BadCertificateUntrusted = 2149187584,
114
118 BadCertificateRevocationUnknown = 2149253120,
119
123 BadCertificateIssuerRevocationUnknown = 2149318656,
124
128 BadCertificateRevoked = 2149384192,
129
133 BadCertificateIssuerRevoked = 2149449728,
134
138 BadCertificateChainIncomplete = 2165112832,
139
143 BadUserAccessDenied = 2149515264,
144
148 BadOutOfRange = 2151415808,
149
153 BadNotSupported = 2151481344,
154
158 BadNotFound = 2151546880,
159
163 BadNotImplemented = 2151677952,
164
168 BadRequestTimeout = 2156199936,
169
173 BadConfigurationError = 2156462080,
174
178 BadInvalidArgument = 2158690304,
179
183 BadInvalidState = 2158952448,
184
188 BadWaitingForResponse = 2159149056,
189
193 BadSyntaxError = 2159411200,
194
198 BadAlreadyExists = 2165637120,
199};
200
202// global stream operators of enum StatusCode for logging and parsing
203ARP_EXPORT std::ostream& operator<<(std::ostream& os, StatusCode value);
204ARP_EXPORT std::istream& operator>>(std::istream& is, StatusCode& value);
205
206} // end of namespace Arp::Services::SoftwareUpdate::Services
207
209// template specialization of StatusCode formatter
210template<> struct fmt::formatter<Arp::Services::SoftwareUpdate::Services::StatusCode> : public fmt::ostream_formatter {};
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:33
Root namespace for the PLCnext API