Remote Call Framework 3.3
ErrorMsg.hpp
1 
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2022, Delta V Software. All rights reserved.
6 // https://www.deltavsoft.com
7 //
8 // RCF is distributed under dual licenses - closed source or GPL.
9 // Consult your particular license for conditions of use.
10 //
11 // If you have not purchased a commercial license, you are using RCF under GPL terms.
12 //
13 // Version: 3.3
14 // Contact: support <at> deltavsoft.com
15 //
16 //******************************************************************************
17 
18 #ifndef INCLUDE_RCF_ERRORMSG_HPP
19 #define INCLUDE_RCF_ERRORMSG_HPP
20 
21 #include <string>
22 
23 #include <RCF/Export.hpp>
24 
25 namespace RCF
26 {
27  class RCF_EXPORT ErrorMsg
28  {
29  public:
30  explicit ErrorMsg(int errorId);
31  int getErrorId() const;
32  std::string getLiteral() const;
33  private:
34  int mErrorId = 0;
35  };
36 
37  /*[[[cog
38  import cog
39  import os
40  import sys
41 
42  scriptDir = os.path.dirname(cog.inFile)
43  pyDir = os.path.abspath( os.path.join(scriptDir, '..\\..\\..\\scripts'))
44  sys.path.insert(0, pyDir)
45 
46  import ErrorMsg
47 
48  errorMessages = ErrorMsg.loadErrorMessages()
49 
50  cog.outl()
51 
52  for (errorId, errorNbr, errorMsg, maxArg) in errorMessages:
53  cog.outl('#define {} ErrorMsg({}) // {}'.format(errorId.ljust(40), str(errorNbr).rjust(3), errorMsg))
54 
55  cog.outl()
56 
57  for (errorId, errorNbr, errorMsg, maxArg) in errorMessages:
58  cog.outl('static const int {} = {};'.format( (errorId+'_Id').ljust(40), str(errorNbr).rjust(3) ))
59 
60  cog.outl()
61 
62  ]]]*/
63 
64  #define RcfError_Ok ErrorMsg( 0) // No error.
65  #define RcfError_ServerMessageLength ErrorMsg( 2) // Server-side message length error.
66  #define RcfError_ClientMessageLength ErrorMsg( 3) // Client-side message length error.
67  #define RcfError_Serialization ErrorMsg( 4) // Data serialization error. Type name: %1%. Exception type: %2%. Exception message: '%3%'.
68  #define RcfError_Deserialization ErrorMsg( 5) // Data deserialization error. Type name: %1%. Exception type: %2%. Exception message: '%3%'.
69  #define RcfError_AppException ErrorMsg( 6) // Server-side application exception. Exception type: %1%. Exception message: '%2%'.
70  #define RcfError_UnknownEndpoint ErrorMsg( 8) // Unknown endpoint.
71  #define RcfError_EndpointPassword ErrorMsg( 9) // Incorrect endpoint password.
72  #define RcfError_EndpointDown ErrorMsg( 10) // Endpoint unavailable.
73  #define RcfError_EndpointRetry ErrorMsg( 11) // Endpoint temporarily unavailable (try again).
74  #define RcfError_ClientConnectTimeout ErrorMsg( 16) // Network connection to %2% timed out after %1% ms (server not started?).
75  #define RcfError_PeerDisconnect ErrorMsg( 17) // Unexpected peer disconnection.
76  #define RcfError_ClientCancel ErrorMsg( 18) // Remote call canceled by client.
77  #define RcfError_StubAssignment ErrorMsg( 19) // Incompatible stub assignment.
78  #define RcfError_PayloadFilterMismatch ErrorMsg( 20) // Message filter mismatch.
79  #define RcfError_OpenSslFilterInit ErrorMsg( 21) // Failed to initialize OpenSSL filter. OpenSSL error: %1%
80  #define RcfError_OpenSslLoadCert ErrorMsg( 22) // Failed to load OpenSSL certificate file. File: %1%. OpenSSL error: %2%
81  #define RcfError_UnknownPublisher ErrorMsg( 23) // Unknown publishing topic.
82  #define RcfError_UnknownFilter ErrorMsg( 24) // Unknown filter type.
83  #define RcfError_NoServerStub ErrorMsg( 25) // Server-side binding not found. Binding: %1%.
84  #define RcfError_Sspi ErrorMsg( 26) // SSPI error. Call to SSPI function %1% failed(). %2%
85  #define RcfError_SspiAuthFail ErrorMsg( 27) // SSPI authentication failed.
86  #define RcfError_SspiInit ErrorMsg( 28) // Failed to initialize SSPI filter. %1% %2%
87  #define RcfError_UnknownSubscriber ErrorMsg( 29) // Unknown subscriber.
88  #define RcfError_ClientReadTimeout ErrorMsg( 30) // Remote call timeout exceeded. No response from peer.
89  #define RcfError_ClientReadFail ErrorMsg( 31) // Network connection error while waiting for response. %1%
90  #define RcfError_ClientWriteTimeout ErrorMsg( 32) // Remote call timeout exceeded. Unable to send request.
91  #define RcfError_ClientWriteFail ErrorMsg( 33) // Network connection error while sending request. %1%
92  #define RcfError_ClientConnectFail ErrorMsg( 34) // Unable to establish network connection. %1%
93  #define RcfError_Filter ErrorMsg( 35) // Filter error.
94  #define RcfError_Socket ErrorMsg( 36) // Socket error. Call to OS function %1% failed. %2%
95  #define RcfError_FnId ErrorMsg( 37) // Invalid function id. Function id: %1%
96  #define RcfError_UnknownInterface ErrorMsg( 38) // Unknown object interface. Interface: %1%.
97  #define RcfError_NoEndpoint ErrorMsg( 39) // No endpoint.
98  #define RcfError_TransportCreation ErrorMsg( 40) // Failed to create transport.
99  #define RcfError_FilterCount ErrorMsg( 41) // Invalid number of filters. Requested: %1%. Max allowed: %2%.
100  #define RcfError_FilterMessage ErrorMsg( 42) // Failed to filter message.
101  #define RcfError_UnfilterMessage ErrorMsg( 43) // Failed to unfilter message.
102  #define RcfError_SspiCredentials ErrorMsg( 44) // SSPI credentials failure. Call to SSPI function %1% failed().
103  #define RcfError_SspiEncrypt ErrorMsg( 45) // SSPI encryption failure. Call to SSPI function %1% failed(). %2%
104  #define RcfError_SspiDecrypt ErrorMsg( 46) // SSPI decryption failure. Call to SSPI function %1% failed(). %2%
105  #define RcfError_SspiImpersonation ErrorMsg( 47) // SSPI impersonation failure. Call to SSPI function %1% failed(). %2%
106  #define RcfError_NotConnected ErrorMsg( 48) // Send operation attempted without connecting.
107  #define RcfError_SocketClose ErrorMsg( 49) // Failed to close socket. %1%
108  #define RcfError_ZlibDeflate ErrorMsg( 50) // Zlib compression error. %1%
109  #define RcfError_ZlibInflate ErrorMsg( 51) // Zlib decompression error. %1%
110  #define RcfError_Zlib ErrorMsg( 52) // Call to Zlib function '%1%' failed. %2%
111  #define RcfError_UnknownSerializationProtocol ErrorMsg( 53) // Unknown serialization protocol. Protocol: %1%.
112  #define RcfError_InvalidErrorMessage ErrorMsg( 54) // Invalid error message from server.
113  #define RcfError_SfNoCtor ErrorMsg( 55) // Construction not supported for this type.
114  #define RcfError_SfRefMismatch ErrorMsg( 56) // Can't deserialize a reference into a non-reference object.
115  #define RcfError_SfDataFormat ErrorMsg( 57) // Input data format error.
116  #define RcfError_SfReadFailure ErrorMsg( 58) // Failed to read data from underlying stream.
117  #define RcfError_SfWriteFailure ErrorMsg( 59) // Failed to write data to underlying stream.
118  #define RcfError_SfBaseDerivedRegistration ErrorMsg( 60) // Base/derived pair not registered. Base: %1%. Derived: %2%.
119  #define RcfError_SfTypeRegistration ErrorMsg( 61) // Type not registered. Type: %1%.
120  #define RcfError_NonStdException ErrorMsg( 62) // Non std::exception-derived exception was thrown.
121  #define RcfError_SocketBind ErrorMsg( 63) // Failed to bind socket to port (port already in use?). Network interface: %1%. Port: %2%. Error: %3%
122  #define RcfError_Decoding ErrorMsg( 64) // Decoding error.
123  #define RcfError_Encoding ErrorMsg( 65) // Encoding error.
124  #define RcfError_TokenRequestFailed ErrorMsg( 66) // No tokens available.
125  #define RcfError_ObjectFactoryNotFound ErrorMsg( 67) // Object factory not found.
126  #define RcfError_PortInUse ErrorMsg( 68) // Port already in use. Network interface: %1%. Port: %2%.
127  #define RcfError_DynamicObjectNotFound ErrorMsg( 69) // Server-side object for given token not found. Token id: %1%.
128  #define RcfError_VersionMismatch ErrorMsg( 70) // Version mismatch.
129  #define RcfError_SslCertVerification ErrorMsg( 72) // SSL certificate verification failure. OpenSSL error: %1%
130  #define RcfError_FiltersLocked ErrorMsg( 74) // Filters locked.
131  #define RcfError_Pipe ErrorMsg( 75) // Pipe error. %1%
132  #define RcfError_AnySerializerNotFound ErrorMsg( 76) // Boost.Any serialization error: serializer not registered for the type '%1%'. Use SF::registerAny() to register a serializer.
133  #define RcfError_ConnectionLimitExceeded ErrorMsg( 77) // The server has reached its incoming connection limit.
134  #define RcfError_DeserializationNullPointer ErrorMsg( 78) // Null pointer deserialization error.
135  #define RcfError_PipeNameTooLong ErrorMsg( 79) // Pipe name too long. Pipe name: %1%. Max length: %2%.
136  #define RcfError_PingBack ErrorMsg( 80) // Received ping back message from peer.
137  #define RcfError_NoPingBackService ErrorMsg( 81) // A ping back service is not available on the server.
138  #define RcfError_NoDownload ErrorMsg( 82) // The specified download does not exist.
139  #define RcfError_FileOffset ErrorMsg( 83) // The specified file offset is invalid. Expected offset: %1%. Actual offset: %2%.
140  #define RcfError_NoUpload ErrorMsg( 84) // The specified upload does not exist.
141  #define RcfError_FileOpen ErrorMsg( 85) // Failed to open file. Path: %1%. %2%
142  #define RcfError_FileRead ErrorMsg( 86) // Failed to read from file. Path: %1%. %2%.
143  #define RcfError_FileWrite ErrorMsg( 87) // Failed to write to file. Path: %1%. %2%.
144  #define RcfError_UploadFailed ErrorMsg( 88) // Upload failed to complete.
145  #define RcfError_UploadInProgress ErrorMsg( 89) // Upload still in progress.
146  #define RcfError_ConcurrentUpload ErrorMsg( 90) // Cannot upload on several connections simultaneously.
147  #define RcfError_UploadFileSize ErrorMsg( 91) // File upload exceeding size limit.
148  #define RcfError_AccessDenied ErrorMsg( 92) // Access denied.
149  #define RcfError_PingBackTimeout ErrorMsg( 93) // Failed to receive pingbacks from server. Expected pingback interval (ms): %1%.
150  #define RcfError_AllThreadsBusy ErrorMsg( 94) // All server threads are busy.
151  #define RcfError_UnsupportedRuntimeVersion ErrorMsg( 95) // Unsupported RCF runtime version. Requested version: %1%. Max supported version: %2%.
152  #define RcfError_FdSetSize ErrorMsg( 97) // FD_SETSIZE limit exceeded. Maximum: %1%.
153  #define RcfError_DnsLookup ErrorMsg( 98) // DNS lookup of network address failed, for name '%1%'. %2%
154  #define RcfError_SspiHandshakeExtraData ErrorMsg( 99) // SSPI handshake protocol error (extra data).
155  #define RcfError_ProtobufWrite ErrorMsg(101) // Failed to serialize Protocol Buffer object. Type: %1%.
156  #define RcfError_ProtobufRead ErrorMsg(102) // Failed to deserialize Protocol Buffer object. Type: %1%.
157  #define RcfError_ExtractSlice ErrorMsg(103) // Failed to read from marshaling buffer. Position: %1%. Length: %2%. Marshaling buffer size: %3%.
158  #define RcfError_ServerStubExpired ErrorMsg(104) // Server stub no longer available
159  #define RcfError_VariantDeserialization ErrorMsg(105) // Failed to deserialize variant object. Variant index: %1%. Variant size: %2%.
160  #define RcfError_SspiAuthFailServer ErrorMsg(106) // Server-side SSPI authentication failed.
161  #define RcfError_SspiAuthFailClient ErrorMsg(107) // Client-side SSPI authentication failed. %1%
162  #define RcfError_Win32ApiError ErrorMsg(108) // The Win32 function %1% failed. %2%
163  #define RcfError_SspiLengthField ErrorMsg(109) // SSPI invalid format. Packet length exceeds total message length. Packet length: %1%. Message length: %2%.
164  #define RcfError_DownloadFailed ErrorMsg(110) // Download failed to complete. %1%
165  #define RcfError_FileSeek ErrorMsg(111) // Failed to seek in file. File: %1%. Seek offset: %2%. %3%
166  #define RcfError_DownloadCancelled ErrorMsg(112) // Download canceled by server.
167  #define RcfError_ParseSockAddr ErrorMsg(113) // Unable to parse socket address structure. %1%
168  #define RcfError_GetSockName ErrorMsg(114) // Unable to retrieve local address information from socket. %1%
169  #define RcfError_ProtobufWriteSize ErrorMsg(115) // Unable to determine serialized size of Protocol Buffers object. ByteSize() returned 0. Type: %1%.
170  #define RcfError_ProtobufWriteInit ErrorMsg(116) // Failed to serialize Protocol Buffers object. Not all required fields were initialized. Type: %1%.
171  #define RcfError_ArraySizeMismatch ErrorMsg(117) // Array size mismatch while deserializing. Array size: %1%. Array size from archive: %2%.
172  #define RcfError_WcharSizeMismatch ErrorMsg(118) // Unicode character size mismatch. Native wchar_t size: %1%. wchar_t size from archive: %2%.
173  #define RcfError_AnyTypeNotRegistered ErrorMsg(119) // Boost.Any serialization error: a type name has not been registered for the typeid '%1%'. Use SF::registerType() to register a type name.
174  #define RcfError_CryptoApiError ErrorMsg(120) // CryptoAPI error. Call to CryptoAPI function %1% failed. %2%
175  #define RcfError_ServerStubAccessDenied ErrorMsg(121) // Access to server binding was denied.
176  #define RcfError_ApiError ErrorMsg(122) // Call to %1% failed. %2%
177  #define RcfError_HttpProxyPort ErrorMsg(123) // HTTP proxy port was not specified.
178  #define RcfError_OpenSslError ErrorMsg(124) // OpenSSL error: %1%
179  #define RcfError_ProtocolNotSupported ErrorMsg(125) // The requested transport protocol is not supported by this server.
180  #define RcfError_ClearCommunicationNotAllowed ErrorMsg(126) // Server requires one of the following transport protocols to be used: %1%.
181  #define RcfError_ThreadingError ErrorMsg(127) // Threading error. Call to %1% failed.
182  #define RcfError_RcfNotInitialized ErrorMsg(128) // RCF has not been initialized. Use the RCF::RcfInitDenit class, or call RCF::init() directly.
183  #define RcfError_InvalidHttpMessage ErrorMsg(129) // Invalid HTTP message.
184  #define RcfError_HttpRequestContentLength ErrorMsg(130) // Unexpected HTTP request. Content-Length header was not present.
185  #define RcfError_HttpResponseContentLength ErrorMsg(131) // Unexpected HTTP response. Content-Length header was not present. HTTP status: %1%. HTTP response: %2%
186  #define RcfError_InvalidOpenSslCertificate ErrorMsg(132) // Invalid certificate format. OpenSSL-based SSL implementation requires certificate to be in PEM format and loaded with the RCF::PemCertificate class.
187  #define RcfError_InvalidSchannelCertificate ErrorMsg(133) // Invalid certificate format. Schannel-based SSL implementation requires certificate to be loaded with the RCF::PfxCertificate or RCF::StoreCertificate classes.
188  #define RcfError_HttpConnectFailed ErrorMsg(134) // Failed to connect via HTTPS proxy. HTTP CONNECT request to proxy failed. HTTP status: %1%. HTTP response: %2%
189  #define RcfError_SspiImpersonateNoSspi ErrorMsg(135) // Unable to impersonate client. Impersonation requires one of the following transport protocols: NTLM, Kerberos, Negotiate.
190  #define RcfError_TransportProtocolNotSupported ErrorMsg(136) // The requested transport protocol is not supported by this RCF build. Transport protocol: %1%
191  #define RcfError_SslNotSupported ErrorMsg(137) // SSL transport protocol is not supported by this RCF build.
192  #define RcfError_SessionObjectDoesNotExist ErrorMsg(138) // Session object does not exist. Session object type: %1%
193  #define RcfError_UploadAlreadyCompleted ErrorMsg(139) // The specified upload has already been completed.
194  #define RcfError_FileIndex ErrorMsg(140) // The specified file index is invalid. Expected index: %1%. Actual index: %2%.
195  #define RcfError_ConcurrentCalls ErrorMsg(141) // Error: multiple concurrent calls attempted on the same RcfClient<> object. To make concurrent calls, use multiple RcfClient<> objects instead.
196  #define RcfError_ParseJsonRpcRequest ErrorMsg(142) // Unable to parse JSON-RPC request. json_spirit::read_stream() returned false.
197  #define RcfError_DllLoad ErrorMsg(143) // Unable to load library. Library name: %1%. Error: %2%
198  #define RcfError_DllFuncLoad ErrorMsg(144) // Unable to load function from dynamic library. Library name: %1%. Function name: %2%. Error: %3%
199  #define RcfError_UnixDllLoad ErrorMsg(145) // Unable to load library. Library name: %1%. Error: %2%
200  #define RcfError_UnixDllFuncLoad ErrorMsg(146) // Unable to load function from dynamic library. Library name: %1%. Function name: %2%. Error: %3%
201  #define RcfError_PingBackInterval ErrorMsg(147) // Invalid ping back interval. Ping back interval must be at least %2% ms. Requested ping back interval was %1% ms.
202  #define RcfError_FileOpenWrite ErrorMsg(148) // Unable to open file for writing. File path: %1%
203  #define RcfError_CustomCertValidation ErrorMsg(149) // Certificate could not be validated. Error: %1%
204  #define RcfError_SupportedOnWindowsOnly ErrorMsg(150) // %1% is only supported on Windows platforms.
205  #define RcfError_NotSupportedOnWindows ErrorMsg(151) // %1% is not supported on Windows platforms.
206  #define RcfError_NotSupportedInThisBuild ErrorMsg(152) // %1% is not supported in this RCF build.
207  #define RcfError_NoLongerSupported ErrorMsg(153) // %1% is no longer supported in this version of RCF.
208  #define RcfError_SslCertVerificationCustom ErrorMsg(154) // SSL certificate verification failure.
209  #define RcfError_ServerCallbacksNotSupported ErrorMsg(155) // The server has not been configured to accept callback connections.
210  #define RcfError_ServerUnsupportedFeature ErrorMsg(156) // The server does not support this feature. Feature: %1%.
211  #define RcfError_SyncPublishError ErrorMsg(157) // Synchronous error while sending to subscriber. Error: %1%.
212  #define RcfError_DeserializeVectorBool ErrorMsg(158) // Bit count mismatch on deserialization of vector<bool>. Bit count: %1%. Buffer size: %2%.
213  #define RcfError_HttpTunnelError ErrorMsg(159) // HTTP tunnel error. %1%
214  #define RcfError_HttpSessionTimeout ErrorMsg(160) // HTTP session was not found on server.
215  #define RcfError_HttpRequestSessionIndex ErrorMsg(161) // HTTP session index mismatch on request. Expected index: %1% . Actual index: %2% .
216  #define RcfError_HttpResponseStatus ErrorMsg(162) // HTTP response error. HTTP response status: %1% . HTTP response: %2%
217  #define RcfError_HttpResponseSessionIndex ErrorMsg(163) // HTTP session index mismatch on response. Expected index: %1% . Actual index: %2% .
218  #define RcfError_HttpResponseSessionId ErrorMsg(164) // HTTP session ID mismatch on response. Expected ID: %1% . Actual ID: %2% .
219  #define RcfError_NotHttpResponse ErrorMsg(165) // The server responded with a non-HTTP response. The first bytes of the response were: '%1%'.
220  #define RcfError_NotHttpPostRequest ErrorMsg(166) // This HTTP port only supports HTTP POST requests.
221  #define RcfError_NotHttpRequest ErrorMsg(167) // The server received a non-HTTP request.
222  #define RcfError_NotSslHandshake ErrorMsg(168) // Protocol mismatch. Expected SSL handshake.
223  #define RcfError_ClientStubParms ErrorMsg(169) // Unable to allocate client stub parameter structure.
224  #define RcfError_ServerStubParms ErrorMsg(170) // Unable to allocate server stub parameter structure
225  #define RcfError_SessionObjectNotCreated ErrorMsg(171) // Could not create session object.Session object type: %1%
226  #define RcfError_MessageHeaderEncoding ErrorMsg(172) // Message header encoding error. Maximum length: %1% . Actual length: %2%
227  #define RcfError_OnewayHttp ErrorMsg(173) // Oneway calls are not supported over the HTTP and HTTPS transports.
228  #define RcfError_ProxyAuthRetry ErrorMsg(174) // Proxy authentication is required. Reconnecting to proxy.
229  #define RcfError_ProxyCredentialsNeeded ErrorMsg(175) // Proxy authentication is required. Please supply valid credentials.
230  #define RcfError_ProxyCredentialsInvalid ErrorMsg(176) // Unable to authenticate to proxy. Invalid credentials.
231  #define RcfError_UploadDirectory ErrorMsg(177) // RCF upload directory has not been configured on the server.
232  #define RcfError_NotHttpConnection ErrorMsg(178) // This connection does not use HTTP or HTTPS.
233  #define RcfError_ProxyEndpointsNotEnabled ErrorMsg(179) // Proxy endpoints are not enabled on this server.
234  #define RcfError_ProxyEndpointDown ErrorMsg(180) // Proxy endpoint '%1%' is currently not available.
235  #define RcfError_BSerFileTransferNotSupported ErrorMsg(181) // File transfers not supported when using Boost.Serialization as serialization protocol.
236  #define RcfError_CouldNotFindUpload ErrorMsg(182) // No file upload found for upload ID '%1%'.
237  #define RcfError_ClientUninitialized ErrorMsg(183) // RCF client has not been initialized.
238  #define RcfError_OutgoingMessageLen ErrorMsg(184) // Outgoing message exceeded the maximum allowed length. Message length: %1%. Maximum allowed length: %2%.
239  #define RcfError_NonSSLResponse ErrorMsg(185) // The server responded with a non-SSL response. The first bytes of the response were: '%1%'.
240  #define RcfError_NoProxyConnection ErrorMsg(186) // Unable to establish connection to proxy endpoint '%1%'.
241  #define RcfError_ProxyServerMultiThreaded ErrorMsg(187) // Proxy server must be multi-threaded, in order to service proxy requests.
242  #define RcfError_HttpRedirect ErrorMsg(188) // The server returned a HTTP redirect response. The HTTP response was '%1%'.
243  #define RcfError_SetFileModTime ErrorMsg(189) // Unable to set last modified time for file '%1%'. %2%
244  #define RcfError_GetFileModTime ErrorMsg(190) // Unable to retrieve last modified time for file '%1%'. %2%
245  #define RcfError_HttpMessageVerification ErrorMsg(191) // HTTP message verification failed.
246  #define RcfError_HttpMessageVerificationAdmin ErrorMsg(192) // HTTP message verification failed. %1%
247  #define RcfError_HttpSessionNotAvailable ErrorMsg(193) // HTTP session not available.
248  #define RcfError_HttpInvalidMessage ErrorMsg(194) // Invalid HTTP message.
249  #define RcfError_UnableToCopyFile ErrorMsg(195) // Failed to copy file from '%1%' to '%2%'. %3%
250  #define RcfError_UnableToRenameFile ErrorMsg(196) // Failed to rename file from '%1%' to '%2%'. %3%
251  #define RcfError_UnableToRemoveFile ErrorMsg(197) // Failed to remove file '%1%'. %2%
252  #define RcfError_UnableToCreateDir ErrorMsg(198) // Failed to create directory '%1%'. %2%
253  #define RcfError_UnableToRemoveDir ErrorMsg(199) // Failed to remove directory '%1%'. %2%
254 
255  static const int RcfError_Ok_Id = 0;
256  static const int RcfError_ServerMessageLength_Id = 2;
257  static const int RcfError_ClientMessageLength_Id = 3;
258  static const int RcfError_Serialization_Id = 4;
259  static const int RcfError_Deserialization_Id = 5;
260  static const int RcfError_AppException_Id = 6;
261  static const int RcfError_UnknownEndpoint_Id = 8;
262  static const int RcfError_EndpointPassword_Id = 9;
263  static const int RcfError_EndpointDown_Id = 10;
264  static const int RcfError_EndpointRetry_Id = 11;
265  static const int RcfError_ClientConnectTimeout_Id = 16;
266  static const int RcfError_PeerDisconnect_Id = 17;
267  static const int RcfError_ClientCancel_Id = 18;
268  static const int RcfError_StubAssignment_Id = 19;
269  static const int RcfError_PayloadFilterMismatch_Id = 20;
270  static const int RcfError_OpenSslFilterInit_Id = 21;
271  static const int RcfError_OpenSslLoadCert_Id = 22;
272  static const int RcfError_UnknownPublisher_Id = 23;
273  static const int RcfError_UnknownFilter_Id = 24;
274  static const int RcfError_NoServerStub_Id = 25;
275  static const int RcfError_Sspi_Id = 26;
276  static const int RcfError_SspiAuthFail_Id = 27;
277  static const int RcfError_SspiInit_Id = 28;
278  static const int RcfError_UnknownSubscriber_Id = 29;
279  static const int RcfError_ClientReadTimeout_Id = 30;
280  static const int RcfError_ClientReadFail_Id = 31;
281  static const int RcfError_ClientWriteTimeout_Id = 32;
282  static const int RcfError_ClientWriteFail_Id = 33;
283  static const int RcfError_ClientConnectFail_Id = 34;
284  static const int RcfError_Filter_Id = 35;
285  static const int RcfError_Socket_Id = 36;
286  static const int RcfError_FnId_Id = 37;
287  static const int RcfError_UnknownInterface_Id = 38;
288  static const int RcfError_NoEndpoint_Id = 39;
289  static const int RcfError_TransportCreation_Id = 40;
290  static const int RcfError_FilterCount_Id = 41;
291  static const int RcfError_FilterMessage_Id = 42;
292  static const int RcfError_UnfilterMessage_Id = 43;
293  static const int RcfError_SspiCredentials_Id = 44;
294  static const int RcfError_SspiEncrypt_Id = 45;
295  static const int RcfError_SspiDecrypt_Id = 46;
296  static const int RcfError_SspiImpersonation_Id = 47;
297  static const int RcfError_NotConnected_Id = 48;
298  static const int RcfError_SocketClose_Id = 49;
299  static const int RcfError_ZlibDeflate_Id = 50;
300  static const int RcfError_ZlibInflate_Id = 51;
301  static const int RcfError_Zlib_Id = 52;
302  static const int RcfError_UnknownSerializationProtocol_Id = 53;
303  static const int RcfError_InvalidErrorMessage_Id = 54;
304  static const int RcfError_SfNoCtor_Id = 55;
305  static const int RcfError_SfRefMismatch_Id = 56;
306  static const int RcfError_SfDataFormat_Id = 57;
307  static const int RcfError_SfReadFailure_Id = 58;
308  static const int RcfError_SfWriteFailure_Id = 59;
309  static const int RcfError_SfBaseDerivedRegistration_Id = 60;
310  static const int RcfError_SfTypeRegistration_Id = 61;
311  static const int RcfError_NonStdException_Id = 62;
312  static const int RcfError_SocketBind_Id = 63;
313  static const int RcfError_Decoding_Id = 64;
314  static const int RcfError_Encoding_Id = 65;
315  static const int RcfError_TokenRequestFailed_Id = 66;
316  static const int RcfError_ObjectFactoryNotFound_Id = 67;
317  static const int RcfError_PortInUse_Id = 68;
318  static const int RcfError_DynamicObjectNotFound_Id = 69;
319  static const int RcfError_VersionMismatch_Id = 70;
320  static const int RcfError_SslCertVerification_Id = 72;
321  static const int RcfError_FiltersLocked_Id = 74;
322  static const int RcfError_Pipe_Id = 75;
323  static const int RcfError_AnySerializerNotFound_Id = 76;
324  static const int RcfError_ConnectionLimitExceeded_Id = 77;
325  static const int RcfError_DeserializationNullPointer_Id = 78;
326  static const int RcfError_PipeNameTooLong_Id = 79;
327  static const int RcfError_PingBack_Id = 80;
328  static const int RcfError_NoPingBackService_Id = 81;
329  static const int RcfError_NoDownload_Id = 82;
330  static const int RcfError_FileOffset_Id = 83;
331  static const int RcfError_NoUpload_Id = 84;
332  static const int RcfError_FileOpen_Id = 85;
333  static const int RcfError_FileRead_Id = 86;
334  static const int RcfError_FileWrite_Id = 87;
335  static const int RcfError_UploadFailed_Id = 88;
336  static const int RcfError_UploadInProgress_Id = 89;
337  static const int RcfError_ConcurrentUpload_Id = 90;
338  static const int RcfError_UploadFileSize_Id = 91;
339  static const int RcfError_AccessDenied_Id = 92;
340  static const int RcfError_PingBackTimeout_Id = 93;
341  static const int RcfError_AllThreadsBusy_Id = 94;
342  static const int RcfError_UnsupportedRuntimeVersion_Id = 95;
343  static const int RcfError_FdSetSize_Id = 97;
344  static const int RcfError_DnsLookup_Id = 98;
345  static const int RcfError_SspiHandshakeExtraData_Id = 99;
346  static const int RcfError_ProtobufWrite_Id = 101;
347  static const int RcfError_ProtobufRead_Id = 102;
348  static const int RcfError_ExtractSlice_Id = 103;
349  static const int RcfError_ServerStubExpired_Id = 104;
350  static const int RcfError_VariantDeserialization_Id = 105;
351  static const int RcfError_SspiAuthFailServer_Id = 106;
352  static const int RcfError_SspiAuthFailClient_Id = 107;
353  static const int RcfError_Win32ApiError_Id = 108;
354  static const int RcfError_SspiLengthField_Id = 109;
355  static const int RcfError_DownloadFailed_Id = 110;
356  static const int RcfError_FileSeek_Id = 111;
357  static const int RcfError_DownloadCancelled_Id = 112;
358  static const int RcfError_ParseSockAddr_Id = 113;
359  static const int RcfError_GetSockName_Id = 114;
360  static const int RcfError_ProtobufWriteSize_Id = 115;
361  static const int RcfError_ProtobufWriteInit_Id = 116;
362  static const int RcfError_ArraySizeMismatch_Id = 117;
363  static const int RcfError_WcharSizeMismatch_Id = 118;
364  static const int RcfError_AnyTypeNotRegistered_Id = 119;
365  static const int RcfError_CryptoApiError_Id = 120;
366  static const int RcfError_ServerStubAccessDenied_Id = 121;
367  static const int RcfError_ApiError_Id = 122;
368  static const int RcfError_HttpProxyPort_Id = 123;
369  static const int RcfError_OpenSslError_Id = 124;
370  static const int RcfError_ProtocolNotSupported_Id = 125;
371  static const int RcfError_ClearCommunicationNotAllowed_Id = 126;
372  static const int RcfError_ThreadingError_Id = 127;
373  static const int RcfError_RcfNotInitialized_Id = 128;
374  static const int RcfError_InvalidHttpMessage_Id = 129;
375  static const int RcfError_HttpRequestContentLength_Id = 130;
376  static const int RcfError_HttpResponseContentLength_Id = 131;
377  static const int RcfError_InvalidOpenSslCertificate_Id = 132;
378  static const int RcfError_InvalidSchannelCertificate_Id = 133;
379  static const int RcfError_HttpConnectFailed_Id = 134;
380  static const int RcfError_SspiImpersonateNoSspi_Id = 135;
381  static const int RcfError_TransportProtocolNotSupported_Id = 136;
382  static const int RcfError_SslNotSupported_Id = 137;
383  static const int RcfError_SessionObjectDoesNotExist_Id = 138;
384  static const int RcfError_UploadAlreadyCompleted_Id = 139;
385  static const int RcfError_FileIndex_Id = 140;
386  static const int RcfError_ConcurrentCalls_Id = 141;
387  static const int RcfError_ParseJsonRpcRequest_Id = 142;
388  static const int RcfError_DllLoad_Id = 143;
389  static const int RcfError_DllFuncLoad_Id = 144;
390  static const int RcfError_UnixDllLoad_Id = 145;
391  static const int RcfError_UnixDllFuncLoad_Id = 146;
392  static const int RcfError_PingBackInterval_Id = 147;
393  static const int RcfError_FileOpenWrite_Id = 148;
394  static const int RcfError_CustomCertValidation_Id = 149;
395  static const int RcfError_SupportedOnWindowsOnly_Id = 150;
396  static const int RcfError_NotSupportedOnWindows_Id = 151;
397  static const int RcfError_NotSupportedInThisBuild_Id = 152;
398  static const int RcfError_NoLongerSupported_Id = 153;
399  static const int RcfError_SslCertVerificationCustom_Id = 154;
400  static const int RcfError_ServerCallbacksNotSupported_Id = 155;
401  static const int RcfError_ServerUnsupportedFeature_Id = 156;
402  static const int RcfError_SyncPublishError_Id = 157;
403  static const int RcfError_DeserializeVectorBool_Id = 158;
404  static const int RcfError_HttpTunnelError_Id = 159;
405  static const int RcfError_HttpSessionTimeout_Id = 160;
406  static const int RcfError_HttpRequestSessionIndex_Id = 161;
407  static const int RcfError_HttpResponseStatus_Id = 162;
408  static const int RcfError_HttpResponseSessionIndex_Id = 163;
409  static const int RcfError_HttpResponseSessionId_Id = 164;
410  static const int RcfError_NotHttpResponse_Id = 165;
411  static const int RcfError_NotHttpPostRequest_Id = 166;
412  static const int RcfError_NotHttpRequest_Id = 167;
413  static const int RcfError_NotSslHandshake_Id = 168;
414  static const int RcfError_ClientStubParms_Id = 169;
415  static const int RcfError_ServerStubParms_Id = 170;
416  static const int RcfError_SessionObjectNotCreated_Id = 171;
417  static const int RcfError_MessageHeaderEncoding_Id = 172;
418  static const int RcfError_OnewayHttp_Id = 173;
419  static const int RcfError_ProxyAuthRetry_Id = 174;
420  static const int RcfError_ProxyCredentialsNeeded_Id = 175;
421  static const int RcfError_ProxyCredentialsInvalid_Id = 176;
422  static const int RcfError_UploadDirectory_Id = 177;
423  static const int RcfError_NotHttpConnection_Id = 178;
424  static const int RcfError_ProxyEndpointsNotEnabled_Id = 179;
425  static const int RcfError_ProxyEndpointDown_Id = 180;
426  static const int RcfError_BSerFileTransferNotSupported_Id = 181;
427  static const int RcfError_CouldNotFindUpload_Id = 182;
428  static const int RcfError_ClientUninitialized_Id = 183;
429  static const int RcfError_OutgoingMessageLen_Id = 184;
430  static const int RcfError_NonSSLResponse_Id = 185;
431  static const int RcfError_NoProxyConnection_Id = 186;
432  static const int RcfError_ProxyServerMultiThreaded_Id = 187;
433  static const int RcfError_HttpRedirect_Id = 188;
434  static const int RcfError_SetFileModTime_Id = 189;
435  static const int RcfError_GetFileModTime_Id = 190;
436  static const int RcfError_HttpMessageVerification_Id = 191;
437  static const int RcfError_HttpMessageVerificationAdmin_Id = 192;
438  static const int RcfError_HttpSessionNotAvailable_Id = 193;
439  static const int RcfError_HttpInvalidMessage_Id = 194;
440  static const int RcfError_UnableToCopyFile_Id = 195;
441  static const int RcfError_UnableToRenameFile_Id = 196;
442  static const int RcfError_UnableToRemoveFile_Id = 197;
443  static const int RcfError_UnableToCreateDir_Id = 198;
444  static const int RcfError_UnableToRemoveDir_Id = 199;
445 
446  //[[[end]]]
447 
448  #define RcfError_User_Id 1001
449  #define RcfError_User ErrorMsg(1001)
450 
451 }
452 
453 #endif // ! INCLUDE_RCF_ERRORMSG_HPP
Definition: AmiIoHandler.hpp:23