PLCnext API Documentation 25.0.2.69
AppManagerErrorCode.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::AppManager::Services
13{
14
18enum class AppManagerErrorCode : int32
19{
23 None = 0,
24
28 Unknown = 1,
29
33 FileNotFound = 2,
34
38 AppNotInstalled = 3,
39
43 AppAlreadyInstalled = 4,
44
48 AppAlreadyStarted = 5,
49
53 AppNotStarted = 6,
54
58 AppMountError = 7,
59
63 AppInfoFileError = 8,
64
68 SettingsError = 9,
69
73 AppInfoFileNotFound = 10,
74
78 IoError = 11,
79
83 EngineerAppStarted = 12,
84
88 KeyNotFound = 13,
89
93 TargetIncompatible = 14,
94
98 FirmwareIncompatible = 15,
99
103 WrongIdentifier = 16,
104
108 InvalidIdentifierFormat = 17,
109
113 AppPartActive = 18,
114
118 AppPartNotActive = 19,
119
123 MultiPartDefinition = 20,
124
128 AppConfigError = 21,
129
133 InstallationModeActive = 22,
134
138 InstallationModeInactive = 23,
139
143 RestartScheduled = 24,
144
148 DuplicatedEntry = 25,
149
153 InconsistentConfig = 26,
154
158 UndefinedPlcnextService = 27,
159
163 ServiceSubscribingError = 28,
164
168 UndefinedAppLicenseType = 29,
169
173 InvalidAppLicense = 30,
174
178 AppVersionParseError = 31,
179
183 AppVersionIncompatible = 32,
184
188 AppUpdateError = 33,
189
193 PlcStartStopError = 34,
194
198 DiscontinuedAppPart = 35,
199
203 AppManagerBusy = 36,
204
208 OciContainerPartError = 37,
209};
210
212// global stream operators of enum AppManagerErrorCode for logging and parsing
213ARP_EXPORT std::ostream& operator<<(std::ostream& os, AppManagerErrorCode value);
214ARP_EXPORT std::istream& operator>>(std::istream& is, AppManagerErrorCode& value);
215
216} // end of namespace Arp::Services::AppManager::Services
217
219// template specialization of AppManagerErrorCode formatter
220template<> struct fmt::formatter<Arp::Services::AppManager::Services::AppManagerErrorCode> : public fmt::ostream_formatter {};
std::int32_t int32
The Arp integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:35
Root namespace for the PLCnext API