syntax = "proto3";
package errors;
enum Err {
option allow_alias = true;
/* Common error codes
(range: =0; // 0x0000 - =0; // 0x00FF)
*/
ERR_OK =0; // 0x0000
ERR_FAILED =1; // 0x0001 /* General error - to be used only for internal errors */
ERR_PARAMETER =2; // 0x0002
ERR_NOTINITIALIZED =3; // 0x0003 /* Function cannot be executed, since component has not been initialized yet. It may work later, though */
ERR_VERSION =4; // 0x0004 /* Version conflict */
ERR_TIMEOUT =5; // 0x0005 /* Operation timed out */
ERR_NOBUFFER =3; // 0x0006 /* Insufficient memory to carry out the request */
ERR_PENDING =10; // 0x000A /* For async-calls: call not complete, yet */
ERR_NUMPENDING =11; // 0x000B /* To many pending calls. Try later */
ERR_NOTIMPLEMENTED =12; // 0x000C /* The function is not implemented */
ERR_INVALIDID =13; // 0x000D /* No object with the provided id found */
ERR_OVERFLOW =14; // 0x000E /* Integer overflow */
ERR_BUFFERSIZE =15; // 0x000F /* The size of a buffer is to small or invalid */
ERR_NO_OBJECT =16; // 0x0010 /* No object with this specified name available */
ERR_NOMEMORY =17; // 0x0011 /* No heap memory available */
ERR_NO_MEMORY =17; // ERR_NOMEMORY
ERR_DUPLICATE =18; // 0x0012 /* An object with the same name is still available */
ERR_MEMORY_OVERWRITE =19; // 0x0013 /* Heap memory was written out of bounds! Memory overwrite error */
ERR_INVALID_HANDLE =20; // 0x0014 /* Invalid handle to an object */
ERR_END_OF_OBJECT =21; // 0x0015 /* End of object reached */
ERR_NO_CHANGE =22; // 0x0016 /* No changes done */
ERR_INVALID_INTERFACE =23; // 0x0017 /* Invalid or unknown interface */
ERR_NOT_SUPPORTED =24; // 0x0018 /* Functionality not supported */
ERR_NO_ACCESS_RIGHTS =25; // 0x0019 /* No access rights for this operation */
ERR_OUT_OF_LIMITS =26; // 0x001A /* Specified limits of a resource exceeded */
ERR_ENTRIES_REMAINING =27; // 0x001B /* Remaining entries that could not be transmitted because of buffer limitation */
ERR_INVALID_SESSION_ID =28; // 0x001C /* Invalid online sessionid */
ERR_EXCEPTION =29; // 0x001D /* Exception occurred */
ERR_SIGNATURE_MISMATCH =30; // 0x001E /* Signature mismatch of an api function */
ERR_VERSION_MISMATCH =31; // 0x001F /* Version mismatch */
ERR_TYPE_MISMATCH =32; // 0x0020 /* Type mismatch */
ERR_ID_MISMATCH =33; // 0x0021 /* ID mismatch */
ERR_NO_CONSISTENCY =34; // 0x0022 /* Consistency error */
ERR_NO_COMM_CYCLE =35; // 0x0023 /* No COMM_CYCLE needed */
ERR_DONT_SUSPEND_TASK =36; // 0x0024 /* Do not suspend task after an exception */
ERR_MEMORY_LOCK_FAILED =37; // 0x0025 /* Memory cannot be locked in this operation */
ERR_LICENSE_MISSING =38; // 0x0026 /* License missing for the runtime */
ERR_OPERATION_DENIED =39; // 0x0027 /* Operation denied */
ERR_DEVICE =40; // 0x0028 /* Device error */
ERR_DISK_FULL =41; // 0x0029 /* Disk full */
ERR_CRC_FAILED =48; // 0x0030
ERR_MEDIA_ERASE =49; // 0x0031
ERR_FILE_ERROR =50; // 0x0032 /* File error. e.g. cannot open a file for writing because it could be write protected */
ERR_NO_RETAIN_MEMORY =51; // 0x0033 /* No retain memory available */
ERR_OUT_OF_LIMITS_MIN =52; // 0x0034 /* Specified minimum-limit of a resource exceeded */
ERR_OUT_OF_LIMITS_MAX =53; // 0x0035 /* Specified maximum-limit of a resource exceeded */
ERR_SIZE_MISMATCH =54; // 0x0036 /* Size mismatch */
ERR_CALL_AGAIN =55; // 0x0037 /* Operation is not yet finished, call function again to proceed */
ERR_NOTHING_TO_DO =56; // 0x0038 /* Operation has nothing to do. No execution. */
ERR_SECURITY_CHECKS_FAILED =57; // 0x0039 /* Some security checks have failed. This is a generic error code to report this error over public channels. In this case the error code doesn't provide a detailed cause for the error. */
ERR_INVALID_SEQUENCE =58; // 0x003A
ERR_INVALID_REFERENCE =59; // 0x003B /* Dereferencing an IEC reference in IecVarAccess failed due to invalid destination address, e. G. NULL. */
ERR_CONVERSION_INCOMPLETE =60; // 0x003C /* Conversion of string encodings was not lossless. */
ERR_TOO_MANY_RETRIES =61; // 0x003D /* Too many retries of an action */
ERR_ALIGNMENT =62; // 0x003E /* There is an unaligned access on memory detected. */
ERR_CHANGE_PASSWORD =63; // 0x003F /* The password has to be changed */
ERR_REAUTHENTICATE =64; // 0x0040 /* The user has to reauthenticate oneself */
ERR_RELOGIN =65; // 0x0041 /* The user has to relogin */
ERR_INVALID_URL =66; // 0x0042 /* An URL was not valid. */
ERR_INVALID_STATE =67; // 0x0043 /* The component state does not allow to call this function. */
ERR_USER_MISMATCH =68; // 0x0044 /* User mismatch */
ERR_NOT_READY_YET =69; // 0x0045 /* The service is not ready yet. Try again later */
ERR_ACTIVATE_USERMGMT =70; // 0x0046 /* The user management has to be activated. */
ERR_NO_USERMGMT =71; // 0x0047 /* A login was done with a user name, but no user management is active. */
ERR_INVALID_ENCODING =72; // 0x0048 /* A string encoding was not correct. */
ERR_TARGET_MISMATCH =73; // 0x0049 /* Target mismatch detected */
ERR_CLIENT_IN_RO_MODE =74; // 0x004A /* Client is in readonly mode and has no rights for this service. */
ERR_LICENSE_EXCEEDED =75; // 0x004B /* License is not sufficient */
ERR_ASYNC_EXCEPTION =76; // 0x004C /* Exception occured during execution of async service task */
ERR_NO_SIGNATURE =77; // 0x004D /* Object contains no siganture */
/* Getwork errors
(r0100 - =0; // 0x010F)
*/
ERR_NET_FAILED =256; // 0x0100 /* General failure of a network call */
ERR_NET_NOTCONNECTED =257; // 0x0101 /* Connection not established or closed */
ERR_NET_MSGSIZE =258; // 0x0102 /* Message exceeds the maximum message size */
ERR_NET_NOROUTE =259; // 0x0103 /* No route found */
ERR_NET_TIMEOUT =262; // 0x0104 /* Timeout of the network call */
ERR_NET_PKGINVALID =261; // 0x0105 /* A network (Layer 3) package is invalid */
ERR_NET_INVALIDADDR =262; // 0x0106 /* Invalid address */
/* Nervice errors (issued by the server of a network service)
(x0120 - =0; // 0x012F)
*/
ERR_SVC_PKGINVALID =288; // 0x0120 /* The received package is not compliant with the service specification */
ERR_SVC_INVALIDSERVICE =289; // 0x0121 /* The requested service does not exist */
ERR_SVC_VERSION_MISMATCH =290; // 0x0122 /* The requested service version does not exist */
/* Nlient errors (issued by the client of a network service)
(x0140 - =0; // 0x014F)
*/
ERR_CLNT_PKGINVALID =320; // 0x0140 /* The received package is not compliant with the service specification */
/* Drver errors
(r0170 - =0; // 0x017F)
*/
ERR_DEVS_LOGINFAILED =368; // 0x0170 /* User login failed */
ERR_DEVS_SESSIONTIMEOUT =369; // 0x0171 /* Inactive session closed due to timeout */
ERR_DEVS_CHANNELCLOSED =370; // 0x0172 /* Channel has been closed */
/* Cerver (PLC) errors
(r0180 - =0; // 0x019F)
*/
ERR_CHS_CHINVALID =385; // 0x0181 /* Channel Id invalid */
ERR_CHS_TIMEOUT =386; // 0x0182 /* Channel closed due to a timeout */
ERR_CHS_PROTOCOL =387; // 0x0183 /* Protocol error */
ERR_CHS_CHECKSUM =388; // 0x0184 /* Inrecoverable transmission error (checksum) etc. */
ERR_CHS_MODEHOST =389; // 0x0185 /* The server application tried to send a message although the channel is in receive mode */
ERR_CHS_MODEPEER =390; // 0x0186 /* Incoming message although the channel is in send mode. */
ERR_CHS_NUMCHANNELS =391; // 0x0187 /* No more channels available. */
ERR_CHS_CLOSED =392; // 0x0188 /* Channel closed by peer */
ERR_CHS_MESSAGESIZE =393; // 0x0189 /* Message exceeds the commbuffer size */
ERR_CHS_REQNOTHANDLED =394; // 0x018A /* The server application didn't properly handle an incoming request */
ERR_CHS_SHUTDOWN =395; // 0x018B /* The channel is closed due a runtime system shutdown */
ERR_CHS_ENCRYPTION_NOT_READY_YET =396; // 0x018C /* The CmpSecureChannel is not ready for encrypted communication. Try again later */
ERR_CHS_NOTSERVER =400; // 0x0190 /* This node is not a server node */
/* Client (eg. the gateway) errors
(r01A0 - =0; // 0x01BF)
*/
ERR_CHC_CHINVALID =417; // 0x01A1 /* Channel Id invalid */
ERR_CHC_TIMEOUT =418; // 0x01A2 /* Channel closed or connect failed due to a timeout */
ERR_CHC_PROTOCOL =419; // 0x01A3 /* Protocol error */
ERR_CHC_CHECKSUM =420; // 0x01A4 /* Inrecoverable transmission error (checksum) etc. */
ERR_CHC_MODEHOST =421; // 0x01A5 /* The client application tried to send a message although the channel is in receive mode */
ERR_CHC_MODEPEER =422; // 0x01A6 /* Incoming message although the channel is in send mode. */
ERR_CHC_NUMCHANNELS =423; // 0x01A7 /* No more channels available. */
ERR_CHC_CLOSED =424; // 0x01A8 /* Channel closed by peer */
ERR_CHC_MESSAGESIZE =425; // 0x01A9 /* Message exceeds the commbuffer size */
ERR_CHC_NOCHBUFFER =426; // 0x01AA /* Not enough memory to provide the required communication buffer */
/* Grrors (Client-Gateway communication)
(x01C0 - =0; // 0x01D0)
*/
ERR_GW_INVALIDPKG =448; // 0x01C0 /* Invalid pkg */
ERR_GW_PROTOCOL =449; // 0x01C1 /* Protocol error */
ERR_GW_VERSION =450; // 0x01C2 /* Clients protocol version cannot be handled */
ERR_GW_NOAUTHMODULE =454; // 0x01C3 /* The authentication modules provided by the client are not available on the gateway */
ERR_GW_UNKNOWNCMD =452; // 0x01C4 /* Command or command group not known by the gateway */
ERR_GW_REQCANCELED =453; // 0x01C5 /* The request has been canceled by a cancelrequest message */
ERR_GW_REQUNKNOWN =454; // 0x01C6 /* A reference to an other request is unknown (eg. a cancelRequest refering to a request that has already been answered. */
ERR_GW_CANCELFAILED =455; // 0x01C7 /* The referenced request cannot be canceled (certain requests may not be canceled once they are initiated) */
ERR_GW_INVALIDCONN =456; // 0x01C8 /* The connection handle is invalid. */
ERR_GW_NUMCONNECTIONS =457; // 0x01C9 /* GWClient/driver can't handle another connection. */
ERR_GW_PARAMETER_NOT_SUPPORTED =458; // 0x01CA /* Parameter values are not supported by the negotiated protocol version between GwClient and Gateway (old Gateway). */
ERR_GW_COMMAND_NOT_SUPPORTED =459; // 0x01CB /* Command is not supported by the negotiated protocol version between GwClient and Gateway (old Gateway). */
ERR_GW_CLIENT_TIMEOUT =460; // 0x01CC /* GwClient has not received any data within the timeout */
ERR_GW_TIMEOUT =461; // 0x01CD /* Gateway has not received any data within the timeout */
/* Srors
(r0200 - =0; // 0x02FF)
*/
ERR_SOCK_NOTINITIALIZED =513; // 0x0201
ERR_SOCK_NOTSOCKET =514; // 0x0202 /* The provided socket handle is invalid */
ERR_SOCK_AFUNSUPPORTED =515; // 0x0203 /* The address family is not supported */
ERR_SOCK_PROTOUNSUPPORTED =516; // 0x0204 /* Protocol is not supported */
ERR_SOCK_NOBUFFER =517; // 0x0205 /* Not enough buffer to handle the request */
ERR_SOCK_WOULDBLOCK =518; // 0x0206 /* Socket is in nonblocking mode but this call would block */
ERR_SOCK_ADDRINUSE =519; // 0x0207 /* The provided address is already in use */
ERR_SOCK_ADDRNOTAVAILABLE =520; // 0x0208 /* The provided address is not available on this computer */
ERR_SOCK_CONNREFUSED =521; // 0x0209 /* Connection has been refused by the remote host */
ERR_SOCK_TIMEDOUT =522; // 0x020A /* Operation timed out */
ERR_SOCK_HOSTNOTFOUND =523; // 0x020B /* The host has not been found */
ERR_SOCK_HOSTUNREACHABLE =524; // 0x020C /* Host is unreachable */
ERR_SOCK_ISCONNECTED =525; // 0x020D /* Socket is already connected */
ERR_SOCK_NOTCONNECTED =526; // 0x020E /* The socket is not connected */
ERR_SOCK_SHUTDOWN =527; // 0x020F /* Shutdown has been called on the socket */
ERR_SOCK_MSGSIZE =528; // 0x0210 /* For sockets of type DGRAM. The package to send exceeds the maximum package size */
ERR_SOCK_CLOSED =529; // 0x0211 /* Socket has been gracefully closed. No more send/receives allowed */
/* Lol errors
(r0300 - =0; // 0x03FF)
*/
ERR_L7_TAG_MISSING =768; // 0x0300 /* Tag missing in online communication buffer */
ERR_L7_UNKNOWNCMDGROUP =769; // 0x0301 /* Unknown command group */
ERR_L7_UNKNOWNCMD =770; // 0x0302 /* Unknown command (within a valid command group) */
ERR_L7_INCOMPLETE =771; // 0x0303 /* Level 7 service incomplete */
ERR_L7_PROTOCOLMISMATCH =772; // 0x0304 /* Received protocol does not match to the expected protocol on this channel */
/* E the BinTagUtils library
(x0400-=0; // 0x040F)
*/
ERR_BTAG_TAGOVERLAP =1024; // 0x0400 /* A nested tag reaches beyond the end of the surrounding tag */
ERR_BTAG_BUFFEROVERRUN =1025; // 0x0401 /* A tag reaches beyond the end of the buffer */
ERR_BTAG_MAXNESTINGDEPTH =1026; // 0x0402 /* The number of nested tags exceeds the maximum nesting depth */
ERR_BTAG_NOTAG =1027; // 0x0403 /* No current tag - reader/writer is at the toplevel. */
ERR_BTAG_NODATATAG =1028; // 0x0404 /* The current tag is not a data tag */
ERR_BTAG_NOCONTAINERTAG =1029; // 0x0405 /* The operation is allowed only on a container tag not on a data tag */
ERR_BTAG_NOTTOPLEVEL =1030; // 0x0406 /* Operation only allowed on toplevel (not inside a tag) */
ERR_BTAG_ALIGNMENT =1031; // 0x0407 /* Invalid alignment */
/* E the Application component
(x0500-=0; // 0x05FF)
*/
ERR_APP_EXISTS =1280; // 0x0500 /* Application with same name exists */
ERR_APP_NOT_EXIST =1281; // 0x0501 /* Application not available */
ERR_APP_INVALID_SESSIONID =1282; // 0x0502 /* Invalid sessionid */
ERR_APP_INVALID_DATAID =1283; // 0x0503 /* Invalid dataid of application. Data don't match! */
ERR_APP_NOT_LOADED =1284; // 0x0504 /* Application not loaded */
ERR_APP_NO_SESSIONID =1285; // 0x0505 /* no sessionid specified */
ERR_APP_UNRESOLVED_REFERENCE =1286; // 0x0506 /* unresolved external function */
ERR_APP_SIGNATURE_MISMATCH =1287; // 0x0507 /* signature mismatch */
ERR_APP_LOAD_RETAIN_DATA_FAILED =1288; // 0x0508 /* loading retain data failed */
ERR_APP_VERSION_MISMATCH =1289; // 0x0509 /* Version mismatch of an external lib function */
ERR_APP_RETAIN_MISMATCH =1290; // 0x050A /* Retain mismatch of the retain area */
ERR_APP_SINGLECYCLE_ON_BREAKPOINT =1291; // 0x050B /* Ask, if single cycle should be done on breakpoint */
ERR_APP_CREATE_BOOTPROJECT_FAILED =1292; // 0x050C /* Bootproject could not be created */
ERR_APP_BP_CONDITION_TOO_COMPLEX =1293; // 0x50D /* Breakpoint condition too complex */
ERR_APP_BP_BREAKPOINT_NOT_SET =1294; // 0x50E /* Breakpoint could not be set */
ERR_APP_BP_INTERP_CODE_TOO_COMPLEX =1295; // 0x50F /* Interpreter code for Breakpoint is too complex */
ERR_APP_CREATE_BOOTPROJECT_FAILED_DISK_FULL =1296; // 0x0510 /* Bootproject could not be created, disk full */
ERR_APP_LOADING_CINTEGRATION_MODULES =1297; // 0x0511 /* Loading any of the C-Integration modules failed */
ERR_APP_DONT_INIT_AREA =1298; // 0x0512 /* Don't initialize area */
ERR_APP_MAPPED_AREA_NOT_FOUND =1299; // 0x0513 /* A data segment has been mapped to an area that could not be found */
ERR_APP_SIGNATURE_MISSING =1230; // 0x0514 /* The digital signature of the download is missing. This is requried by the runtime configuration */
ERR_APP_DECRYPTION_FAILED =1231; // 0x0515 /* The decrytion of the application code failed */
ERR_APP_ENCRYPTION_MISSING =1232; // 0x0516 /* The application code is not encrypted. This is required by the runtime */
ERR_APP_SIGNATURE_AND_ENCRYPTION_MISSING =1233; // 0x0517 /* The application code is not signed and encrypted */
ERR_APP_BP_BREAKPOINT_NOT_DELETED =1304; // 0x0518 /* Breakpoint could not be deleted */
/* Ts
* (x0600 - =0; // 0x06FF)
*/
ERR_TLS_INTERNAL =1536; // 0x0600 /* Internal Error of TLS component */
ERR_TLS_RAND_NOT_INIT =1537; // 0x0601 /* Random number generator was not seeded with enough entropy */
ERR_TLS_INVALID_SOCKETTYPE =1538; // 0x0602 /* The configured type of the socket does not allow this operation */
ERR_TLS_ALREADY_STARTED =1539; // 0x0603 /* The TLS handshake has already been done */
/* Iions */
ERR_TLS_CONNECTION_CLOSED =1552; // 0x0610 /* The TLS connection has been closed. */
ERR_TLS_RETRY_OPERATION =1556; // 0x0611 /* The same TLS operation should be called again */
ERR_TLS_IO_SYSTEM =1554; // 0x0612 /* The underlaying transport caused a problem */
ERR_TLS_WANT_READ =1555; // 0x0613 /* The finish this operation data have to be read. The data was not available. Receive TLS protocol data to finish this operation */
ERR_TLS_WANT_WRITE =1556; // 0x0614 /* To finish this operation data has to be written. The buffer doesn't allow that. Send existing data to allow writing new data */
/* Cte errors*/
ERR_TLS_CERT_INVALID =1568; // 0x0620
ERR_TLS_CERT_SELFSIGNED =1569; // 0x0621
ERR_TLS_CERT_EXPIRED =1570; // 0x0622
/*
* X errors range(=0; // 0x700 - =0; // 0x7FF)
*/
/* Cte validation error codes */
ERR_CERT_OK =0; // ERR_OK
/* irror (for uninitialized values, to avoid ERR_CERT_OK) */
ERR_CERT_UNABLE_TO_GET_ISSUER_CERT =1793; // 0x701
ERR_CERT_UNABLE_TO_GET_CRL =1794; // 0x702
ERR_CERT_UNABLE_TO_DECRYPT_CERT_SIGNATURE =1795; // 0x703
ERR_CERT_UNABLE_TO_DECRYPT_CRL_SIGNATURE =1796; // 0x704
ERR_CERT_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY =1797; // 0x705
ERR_CERT_SIGNATURE_FAILURE =1798; // 0x706
ERR_CERT_CRL_SIGNATURE_FAILURE =1799; // 0x707
ERR_CERT_NOT_YET_VALID =1800; // 0x708
ERR_CERT_HAS_EXPIRED =1801; // 0x709
ERR_CERT_CRL_NOT_YET_VALID =1802; // 0x70a
ERR_CERT_CRL_HAS_EXPIRED =1803; // 0x70b
ERR_CERT_ERROR_IN_CERT_NOT_BEFORE_FIELD =1804; // 0x70c
ERR_CERT_ERROR_IN_CERT_NOT_AFTER_FIELD =1805; // 0x70d
ERR_CERT_ERROR_IN_CRL_LAST_UPDATE_FIELD =1806; // 0x70e
ERR_CERT_ERROR_IN_CRL_NEXT_UPDATE_FIELD =1807; // 0x70f
ERR_CERT_OUT_OF_MEM =1808; // 0x710
ERR_CERT_DEPTH_ZERO_SELF_SIGNED_CERT =1809; // 0x711
ERR_CERT_SELF_SIGNED_CERT_IN_CHAIN =1810; // 0x712
ERR_CERT_UNABLE_TO_GET_ISSUER_CERT_LOCALLY =1811; // 0x713
ERR_CERT_UNABLE_TO_VERIFY_LEAF_SIGNATURE =1812; // 0x714
ERR_CERT_CHAIN_TOO_LONG =1813; // 0x715
ERR_CERT_REVOKED =1814; // 0x716
ERR_CERT_INVALID_CA =1815; // 0x717
ERR_CERT_PATH_LENGTH_EXCEEDED =1816; // 0x718
ERR_CERT_INVALID_PURPOSE =1817; // 0x719
ERR_CERT_UNTRUSTED =1818; // 0x71a
ERR_CERT_REJECTED =1819; // 0x71b
/* T 'informational' when looking for issuer cert */
ERR_CERT_SUBJECT_ISSUER_MISMATCH =1820; // 0x71c
ERR_CERT_AKID_SKID_MISMATCH =1821; // 0x71d
ERR_CERT_AKID_ISSUER_SERIAL_MISMATCH =1822; // 0x71e
ERR_CERT_KEYUSAGE_NO_CERTSIGN =1823; // 0x71f
ERR_CERT_UNABLE_TO_GET_CRL_ISSUER =1824; // 0x720
ERR_CERT_UNHANDLED_CRITICAL_EXTENSION =1825; // 0x721
ERR_CERT_KEYUSAGE_NO_CRL_SIGN =1826; // 0x722
ERR_CERT_UNHANDLED_CRITICAL_CRL_EXTENSION =1827; // 0x723
ERR_CERT_INVALID_NON_CA =1828; // 0x724
ERR_CERT_PROXY_PATH_LENGTH_EXCEEDED =1829; // 0x725
ERR_CERT_KEYUSAGE_NO_DIGITAL_SIGNATURE =1830; // 0x726
ERR_CERT_PROXY_CERTIFICATES_NOT_ALLOWED =1831; // 0x727
ERR_CERT_INVALID_EXTENSION =1832; // 0x728
ERR_CERT_INVALID_POLICY_EXTENSION =1833; // 0x729
ERR_CERT_NO_EXPLICIT_POLICY =1834; // 0x72a
ERR_CERT_DIFFERENT_CRL_SCOPE =1835; // 0x72b
ERR_CERT_UNSUPPORTED_EXTENSION_FEATURE =1836; // 0x72c
ERR_CERT_UNNESTED_RESOURCE =1837; // 0x72d
ERR_CERT_PERMITTED_VIOLATION =1838; // 0x72e
ERR_CERT_EXCLUDED_VIOLATION =1839; // 0x72f
ERR_CERT_SUBTREE_MINMAX =1840; // 0x730
ERR_CERT_UNSUPPORTED_CONSTRAINT_TYPE =1841; // 0x731
ERR_CERT_UNSUPPORTED_CONSTRAINT_SYNTAX =1842; // 0x732
ERR_CERT_UNSUPPORTED_NAME_SYNTAX =1843; // 0x733
ERR_CERT_CRL_PATH_VALIDATION_ERROR =1844; // 0x734
/* Tcation is not happy */
ERR_CERT_APPLICATION_VERIFICATION =1845; // 0x735
ERR_CERT_MISSING =1846; // 0x736
ERR_CERT_UNKNOWN_ERROR =1847; // 0x737
ERR_P12_UNKNOWN_ERROR =1872; // 0x750 /* The p12 operation failed for an unknown reason */
ERR_P12_MAC_INVALID =1873; // 0x751 /* The MAC of the p12 operation was invalid. Typically this is because of a wrong passphrase */
ERR_P12_UNSUPPORTED_CIPHER =1874; // 0x752 /* The p12 container was created with an unsupported encryption algorithm */
ERR_P12_UNSUPPORTED_DIGEST =1875; // 0x753 /* The p12 container was created with an unsupported digest algorithm */
ERR_P12_UNSUPPORTED_OPTION =1876; // 0x754 /* The p12 container was created with an unsupported option. */
ERR_P12_PARSE_ERROR =1877; // 0x755 /* The p12 container could not be parsed. */
ERR_P12_KEY_NOMATCH =1878; // 0x756 /* The private key of the p12 container does not match the certifictate within the container. */
ERR_P12_NO_KEY =1879; // 0x757 /* The p12 container does not contain a private key. */
ERR_P12_NO_CERT =1880; // 0x758 /* The p12 container does not contain a certificate. */
/* Dnagement errors
* (x800 - =0; // 0x8FF)
*/
ERR_DMS_SERVICE_NOT_RUNNING =2049; // 0x801 /* The corresponding device management service is not running and cannot be started! */
/* Mg errors -
in the monitoring reply packages only. Not to be mixed with the
ERR_xxx result values.
rors values must not exceed a single byte (ie. <= =0; // 0xFF)
*/
MONITORING_ERR_OK =0; // 0x00
MONITORING_ERR_INVALID_AREA =1; // 0x01
MONITORING_ERR_UNSUPPORTED_DATATYPE =2; // 0x02
MONITORING_ERR_SIZE_0 =3; // 0x03
MONITORING_ERR_NOBP =4; // 0x04
MONITORING_ERR_INVALID_POINTER =5; // 0x05
MONITORING_ERR_NESTING_DEPTH =6; // 0x06
MONITORING_ERR_NO_CONSISTENCY =7; // 0x07
MONITORING_ERR_BUFFERSIZE_EXCEEDED =8; // 0x08
MONITORING_ERR_INVALID_INDEX =9; // 0x09
MONITORING_ERR_UNSUPPORTED_OPERATOR =10; // 0x0A
MONITORING_ERR_OPERATION_DENIED =11; // 0x0B
MONITORING_ERR_EXCEPTION =12; // 0x0C /* An exception occurred while executing the monitoring expression */
MONITORING_ERR_STACK_OVERFLOW =13; // 0x0D /* The monitoring stack was not large enough to evaluate the expression */
MONITORING_ERR_STACK_UNDERFLOW =14; // 0x0E /* The expression caused an underflow of the monitoring stack */
MONITORING_ERR_IOPARAM =15; // 0x0F /* Accessing an I/O parameter failed */
MONITORING_ERR_DIVISIONBYZERO =16; // 0x10 /* A division by zero occured */
MONITORING_ERR_INVALIDBRANCHOFFSET =17; // 0x11 /* The branch offset is too large in magnitude */
MONITORING_ERR_NOAPP =18; // 0x12 /* No application context has been given */
MONITORING_ERR_WRONGFUNCTION =19; // 0x13 /* The break point is not in the current function */
MONITORING_ERR_FORCE_FAILED =20; // 0x14 /* Adding a forced valule failed */
MONITORING_ERR_FAILED =21; // 0x15 /* Generic monitoring error */
MONITORING_ERR_UNKNOWN =255; // 0xff
/* Ffer errors */
ERR_FT_FILE_SIZE_MISMATCH =2048; // 0x0800 /* File size don't match */
ERR_FT_CRC_MISMATCH =2049; // 0x0801 /* Crc of file don't match */
/* Iess errors */
ERR_IECVARACC_UNKNOWN_NODE_TYPE =2304; // 0x0900 /* Unknown symbolic node type */
ERR_IECVARACC_NO_CHILD_NODE =2305; // 0x0901 /* No child not available */
ERR_IECVARACC_CONFIG_CHANGED =2306; // 0x0902 /* Symbolconfiguration has changed */
ERR_IECVARACC_SYNC_CONSISTENCY_DENIED =2307; // 0x0903 /* AF_ALLOW_SYMBOLIC_VARIABLE_ACCESS_IN_SYNC_WITH_IEC_TASK is not set for all applications on the device*/
ERR_EDGE_INVALID_MESSAGEID =2560; // 0x0A00 /* A received message id was invalid. */
ERR_EDGE_INVALID_STATE =2561; // 0x0A01 /* A session is in an invalid state. */
ERR_EDGE_SESSIONID_INVALID =2562; // 0x0A02 /* Unknown session id requested */
ERR_EDGE_PKGINVALID =2563; // 0x0A03 /* The received package is not compliant with the service specification */
ERR_EDGE_NOBUFFER =2564; // 0x0A04 /* Not enough buffer to handle the request */
ERR_EDGE_TIMEOUT =2565; // 0x0A05 /* Timeout of the request */
ERR_EDGE_VAR_MISMATCH =2566; // 0x0A06 /* The requested variable type or size does not match, maybe out of date */
ERR_EDGE_PLC_NOT_CONNECTED =2567; // 0x0A07 /* The PLC state is not in state STATE_RUNNING */
ERR_EDGE_PLC_NO_CYCLIC_LIST_DEFINED =2568; // 0x0A08 /* Invalid variable list specified */
ERR_EDGE_COMM_FATAL =2569; // 0x0A09 /* Communication error occurred during symbol load */
/* Vndancy errors */
ERR_REDU_TOO_TAGS =2816; // 0x0B00 /* Too many tags */
ERR_REDU_MEMORY =2817; // 0x0B01 /* Memory error during ID creation */
ERR_REDU_CLIENT_CREATION_ERR =2818; // 0x0B02 /* Client creation error */
/**
* <>CFA (CODESYS Firmware Archive) Verifier Issues</category>
* <ion>Errors or warnings encountered while verifying an CFA's signatures.</description>
*/
ERR_DM_SIG_SIG_MALFORMED_SIGNERS =2816; // 0x0B00 /* Malformed list of signers */
ERR_DM_SIG_SIG_MALFORMED_SIGNER =2817; // 0x0B01 /* Malformed signer block */
ERR_DM_SIG_SIG_MALFORMED_PUBLIC_KEY =2818; // 0x0B02 /* Public key embedded in the CFA Signature Scheme v1 signature of this signer could not be parsed. */
ERR_DM_SIG_SIG_MALFORMED_CERTIFICATE =2819; // 0x0B03 /* This CFA Signature Scheme v1 signer's certificate could not be parsed. */
ERR_DM_SIG_SIG_MALFORMED_SIGNATURE =2820; // 0x0B04 /* Failed to parse this signer's signature record contained in the CFA Signature Scheme v1 signature. */
ERR_DM_SIG_SIG_MALFORMED_DIGEST =2821; // 0x0B05 /* Failed to parse this signer's digest record contained in the CFA Signature Scheme v1 signature. */
ERR_DM_SIG_SIG_MALFORMED_ADDITIONAL_ATTRIBUTE =2822; // 0x0B06 /* This CFA Signature Scheme v1 signer contains a malformed additional attribute. */
ERR_DM_SIG_SIG_NO_SIGNERS =2823; // 0x0B07 /* No signers in CFA Signature Scheme v1 signature */
ERR_DM_SIG_SIG_UNKNOWN_SIG_ALGORITHM =2824; // 0x0B08 /* This CFA Signature Scheme v1 signer contains a signature produced using an unknown algorithm. */
ERR_DM_SIG_SIG_UNKNOWN_ADDITIONAL_ATTRIBUTE =2825; // 0x0B09 /* This CFA Signature Scheme v1 signer contains an unknown additional attribute. */
ERR_DM_SIG_SIG_VERIFY_ERROR =2826; // 0x0B0A /* An error was encountered while verifying CFA Signature Scheme v1 signature of this signer. */
ERR_DM_SIG_SIG_DID_NOT_VERIFY =2827; // 0x0B0B /* Signature over signed-data did not verify */
ERR_DM_SIG_SIG_NO_SIGNATURES =2828; // 0x0B0C /* No signatures */
ERR_DM_SIG_SIG_NO_SUPPORTED_SIGNATURES =2829; // 0x0B0D /* No supported signatures */
ERR_DM_SIG_SIG_NO_CERTIFICATES =2830; // 0x0B0E /* No certificates */
ERR_DM_SIG_SIG_PUBLIC_KEY_MISMATCH_BETWEEN_CERTIFICATE_AND_SIGNATURES_RECORD =2831; // 0x0B0F /* This CFA Signature Scheme v1 signer's public key listed in the signer's certificate does not match the public key listed in the signatures record. */
ERR_DM_SIG_SIG_SIG_ALG_MISMATCH_BETWEEN_SIGNATURES_AND_DIGESTS_RECORDS =2832; // 0x0B10 /* This CFA Signature Scheme v1 signer's signature algorithms listed in the signatures record do not match the signature algorithms listed in the signatures record. */
ERR_DM_SIG_SIG_CFA_DIGEST_DID_NOT_VERIFY =2833; // 0x0B11 /* The CFA's digest does not match the digest contained in the CFA Signature Scheme v1 signature. */
ERR_DM_SIG_CFA_SIG_BLOCK_UNKNOWN_ENTRY_ID =2834; // 0x0B12 /* CFA Signing Block contains an unknown entry. */
/* Ofic error code range */
ERR_OEM_START =32768; // 0x8000 /* OEM error range start */
ERR_OEM_END =65535; // 0xFFFF /* OEM error range end */
}