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