#[repr(i32)]pub enum Err {
Show 289 variants
Ok = 0,
Failed = 1,
Parameter = 2,
Notinitialized = 3,
Version = 4,
Timeout = 5,
Pending = 10,
Numpending = 11,
Notimplemented = 12,
Invalidid = 13,
Overflow = 14,
Buffersize = 15,
NoObject = 16,
Nomemory = 17,
Duplicate = 18,
MemoryOverwrite = 19,
InvalidHandle = 20,
EndOfObject = 21,
NoChange = 22,
InvalidInterface = 23,
NotSupported = 24,
NoAccessRights = 25,
OutOfLimits = 26,
EntriesRemaining = 27,
InvalidSessionId = 28,
Exception = 29,
SignatureMismatch = 30,
VersionMismatch = 31,
TypeMismatch = 32,
IdMismatch = 33,
NoConsistency = 34,
NoCommCycle = 35,
DontSuspendTask = 36,
MemoryLockFailed = 37,
LicenseMissing = 38,
OperationDenied = 39,
Device = 40,
DiskFull = 41,
CrcFailed = 48,
MediaErase = 49,
FileError = 50,
NoRetainMemory = 51,
OutOfLimitsMin = 52,
OutOfLimitsMax = 53,
SizeMismatch = 54,
CallAgain = 55,
NothingToDo = 56,
SecurityChecksFailed = 57,
InvalidSequence = 58,
InvalidReference = 59,
ConversionIncomplete = 60,
TooManyRetries = 61,
Alignment = 62,
ChangePassword = 63,
Reauthenticate = 64,
Relogin = 65,
InvalidUrl = 66,
InvalidState = 67,
UserMismatch = 68,
NotReadyYet = 69,
ActivateUsermgmt = 70,
NoUsermgmt = 71,
InvalidEncoding = 72,
TargetMismatch = 73,
ClientInRoMode = 74,
LicenseExceeded = 75,
AsyncException = 76,
NoSignature = 77,
NetFailed = 256,
NetNotconnected = 257,
NetMsgsize = 258,
NetNoroute = 259,
NetTimeout = 262,
NetPkginvalid = 261,
SvcPkginvalid = 288,
SvcInvalidservice = 289,
SvcVersionMismatch = 290,
ClntPkginvalid = 320,
DevsLoginfailed = 368,
DevsSessiontimeout = 369,
DevsChannelclosed = 370,
ChsChinvalid = 385,
ChsTimeout = 386,
ChsProtocol = 387,
ChsChecksum = 388,
ChsModehost = 389,
ChsModepeer = 390,
ChsNumchannels = 391,
ChsClosed = 392,
ChsMessagesize = 393,
ChsReqnothandled = 394,
ChsShutdown = 395,
ChsEncryptionNotReadyYet = 396,
ChsNotserver = 400,
ChcChinvalid = 417,
ChcTimeout = 418,
ChcProtocol = 419,
ChcChecksum = 420,
ChcModehost = 421,
ChcModepeer = 422,
ChcNumchannels = 423,
ChcClosed = 424,
ChcMessagesize = 425,
ChcNochbuffer = 426,
GwInvalidpkg = 448,
GwProtocol = 449,
GwVersion = 450,
GwNoauthmodule = 454,
GwUnknowncmd = 452,
GwReqcanceled = 453,
GwCancelfailed = 455,
GwInvalidconn = 456,
GwNumconnections = 457,
GwParameterNotSupported = 458,
GwCommandNotSupported = 459,
GwClientTimeout = 460,
GwTimeout = 461,
SockNotinitialized = 513,
SockNotsocket = 514,
SockAfunsupported = 515,
SockProtounsupported = 516,
SockNobuffer = 517,
SockWouldblock = 518,
SockAddrinuse = 519,
SockAddrnotavailable = 520,
SockConnrefused = 521,
SockTimedout = 522,
SockHostnotfound = 523,
SockHostunreachable = 524,
SockIsconnected = 525,
SockNotconnected = 526,
SockShutdown = 527,
SockMsgsize = 528,
SockClosed = 529,
L7TagMissing = 768,
L7Unknowncmdgroup = 769,
L7Unknowncmd = 770,
L7Incomplete = 771,
L7Protocolmismatch = 772,
BtagTagoverlap = 1_024,
BtagBufferoverrun = 1_025,
BtagMaxnestingdepth = 1_026,
BtagNotag = 1_027,
BtagNodatatag = 1_028,
BtagNocontainertag = 1_029,
BtagNottoplevel = 1_030,
BtagAlignment = 1_031,
AppExists = 1_280,
AppNotExist = 1_281,
AppInvalidSessionid = 1_282,
AppInvalidDataid = 1_283,
AppNotLoaded = 1_284,
AppNoSessionid = 1_285,
AppUnresolvedReference = 1_286,
AppSignatureMismatch = 1_287,
AppLoadRetainDataFailed = 1_288,
AppVersionMismatch = 1_289,
AppRetainMismatch = 1_290,
AppSinglecycleOnBreakpoint = 1_291,
AppCreateBootprojectFailed = 1_292,
AppBpConditionTooComplex = 1_293,
AppBpBreakpointNotSet = 1_294,
AppBpInterpCodeTooComplex = 1_295,
AppCreateBootprojectFailedDiskFull = 1_296,
AppLoadingCintegrationModules = 1_297,
AppDontInitArea = 1_298,
AppMappedAreaNotFound = 1_299,
AppSignatureMissing = 1_230,
AppDecryptionFailed = 1_231,
AppEncryptionMissing = 1_232,
AppSignatureAndEncryptionMissing = 1_233,
AppBpBreakpointNotDeleted = 1_304,
TlsInternal = 1_536,
TlsRandNotInit = 1_537,
TlsInvalidSockettype = 1_538,
TlsAlreadyStarted = 1_539,
TlsConnectionClosed = 1_552,
TlsRetryOperation = 1_556,
TlsIoSystem = 1_554,
TlsWantRead = 1_555,
TlsCertInvalid = 1_568,
TlsCertSelfsigned = 1_569,
TlsCertExpired = 1_570,
CertUnableToGetIssuerCert = 1_793,
CertUnableToGetCrl = 1_794,
CertUnableToDecryptCertSignature = 1_795,
CertUnableToDecryptCrlSignature = 1_796,
CertUnableToDecodeIssuerPublicKey = 1_797,
CertSignatureFailure = 1_798,
CertCrlSignatureFailure = 1_799,
CertNotYetValid = 1_800,
CertHasExpired = 1_801,
CertCrlNotYetValid = 1_802,
CertCrlHasExpired = 1_803,
CertErrorInCertNotBeforeField = 1_804,
CertErrorInCertNotAfterField = 1_805,
CertErrorInCrlLastUpdateField = 1_806,
CertErrorInCrlNextUpdateField = 1_807,
CertOutOfMem = 1_808,
CertDepthZeroSelfSignedCert = 1_809,
CertSelfSignedCertInChain = 1_810,
CertUnableToGetIssuerCertLocally = 1_811,
CertUnableToVerifyLeafSignature = 1_812,
CertChainTooLong = 1_813,
CertRevoked = 1_814,
CertInvalidCa = 1_815,
CertPathLengthExceeded = 1_816,
CertInvalidPurpose = 1_817,
CertUntrusted = 1_818,
CertRejected = 1_819,
CertSubjectIssuerMismatch = 1_820,
CertAkidSkidMismatch = 1_821,
CertAkidIssuerSerialMismatch = 1_822,
CertKeyusageNoCertsign = 1_823,
CertUnableToGetCrlIssuer = 1_824,
CertUnhandledCriticalExtension = 1_825,
CertKeyusageNoCrlSign = 1_826,
CertUnhandledCriticalCrlExtension = 1_827,
CertInvalidNonCa = 1_828,
CertProxyPathLengthExceeded = 1_829,
CertKeyusageNoDigitalSignature = 1_830,
CertProxyCertificatesNotAllowed = 1_831,
CertInvalidExtension = 1_832,
CertInvalidPolicyExtension = 1_833,
CertNoExplicitPolicy = 1_834,
CertDifferentCrlScope = 1_835,
CertUnsupportedExtensionFeature = 1_836,
CertUnnestedResource = 1_837,
CertPermittedViolation = 1_838,
CertExcludedViolation = 1_839,
CertSubtreeMinmax = 1_840,
CertUnsupportedConstraintType = 1_841,
CertUnsupportedConstraintSyntax = 1_842,
CertUnsupportedNameSyntax = 1_843,
CertCrlPathValidationError = 1_844,
CertApplicationVerification = 1_845,
CertMissing = 1_846,
CertUnknownError = 1_847,
P12UnknownError = 1_872,
P12MacInvalid = 1_873,
P12UnsupportedCipher = 1_874,
P12UnsupportedDigest = 1_875,
P12UnsupportedOption = 1_876,
P12ParseError = 1_877,
P12KeyNomatch = 1_878,
P12NoKey = 1_879,
P12NoCert = 1_880,
DmsServiceNotRunning = 2_049,
MonitoringErrNestingDepth = 6,
MonitoringErrNoConsistency = 7,
MonitoringErrBuffersizeExceeded = 8,
MonitoringErrInvalidIndex = 9,
MonitoringErrUnknown = 255,
FtFileSizeMismatch = 2_048,
IecvaraccUnknownNodeType = 2_304,
IecvaraccNoChildNode = 2_305,
IecvaraccConfigChanged = 2_306,
IecvaraccSyncConsistencyDenied = 2_307,
EdgeInvalidMessageid = 2_560,
EdgeInvalidState = 2_561,
EdgeSessionidInvalid = 2_562,
EdgePkginvalid = 2_563,
EdgeNobuffer = 2_564,
EdgeTimeout = 2_565,
EdgeVarMismatch = 2_566,
EdgePlcNotConnected = 2_567,
EdgePlcNoCyclicListDefined = 2_568,
EdgeCommFatal = 2_569,
ReduTooTags = 2_816,
ReduMemory = 2_817,
ReduClientCreationErr = 2_818,
DmSigSigMalformedCertificate = 2_819,
DmSigSigMalformedSignature = 2_820,
DmSigSigMalformedDigest = 2_821,
DmSigSigMalformedAdditionalAttribute = 2_822,
DmSigSigNoSigners = 2_823,
DmSigSigUnknownSigAlgorithm = 2_824,
DmSigSigUnknownAdditionalAttribute = 2_825,
DmSigSigVerifyError = 2_826,
DmSigSigDidNotVerify = 2_827,
DmSigSigNoSignatures = 2_828,
DmSigSigNoSupportedSignatures = 2_829,
DmSigSigNoCertificates = 2_830,
DmSigSigPublicKeyMismatchBetweenCertificateAndSignaturesRecord = 2_831,
DmSigSigSigAlgMismatchBetweenSignaturesAndDigestsRecords = 2_832,
DmSigSigCfaDigestDidNotVerify = 2_833,
DmSigCfaSigBlockUnknownEntryId = 2_834,
OemStart = 32_768,
OemEnd = 65_535,
}
Variants§
Ok = 0
Common error codes (range: =0; // 0x0000 - =0; // 0x00FF)
0x0000
Failed = 1
0x0001 /* General error - to be used only for internal errors */
Parameter = 2
0x0002
Notinitialized = 3
0x0003 /* Function cannot be executed, since component has not been initialized yet. It may work later, though */
Version = 4
0x0004 /* Version conflict */
Timeout = 5
0x0005 /* Operation timed out */
Pending = 10
0x000A /* For async-calls: call not complete, yet */
Numpending = 11
0x000B /* To many pending calls. Try later */
Notimplemented = 12
0x000C /* The function is not implemented */
Invalidid = 13
0x000D /* No object with the provided id found */
Overflow = 14
0x000E /* Integer overflow */
Buffersize = 15
0x000F /* The size of a buffer is to small or invalid */
NoObject = 16
0x0010 /* No object with this specified name available */
Nomemory = 17
0x0011 /* No heap memory available */
Duplicate = 18
0x0012 /* An object with the same name is still available */
MemoryOverwrite = 19
0x0013 /* Heap memory was written out of bounds! Memory overwrite error */
InvalidHandle = 20
0x0014 /* Invalid handle to an object */
EndOfObject = 21
0x0015 /* End of object reached */
NoChange = 22
0x0016 /* No changes done */
InvalidInterface = 23
0x0017 /* Invalid or unknown interface */
NotSupported = 24
0x0018 /* Functionality not supported */
NoAccessRights = 25
0x0019 /* No access rights for this operation */
OutOfLimits = 26
0x001A /* Specified limits of a resource exceeded */
EntriesRemaining = 27
0x001B /* Remaining entries that could not be transmitted because of buffer limitation */
InvalidSessionId = 28
0x001C /* Invalid online sessionid */
Exception = 29
0x001D /* Exception occurred */
SignatureMismatch = 30
0x001E /* Signature mismatch of an api function */
VersionMismatch = 31
0x001F /* Version mismatch */
TypeMismatch = 32
0x0020 /* Type mismatch */
IdMismatch = 33
0x0021 /* ID mismatch */
NoConsistency = 34
0x0022 /* Consistency error */
NoCommCycle = 35
0x0023 /* No COMM_CYCLE needed */
DontSuspendTask = 36
0x0024 /* Do not suspend task after an exception */
MemoryLockFailed = 37
0x0025 /* Memory cannot be locked in this operation */
LicenseMissing = 38
0x0026 /* License missing for the runtime */
OperationDenied = 39
0x0027 /* Operation denied */
Device = 40
0x0028 /* Device error */
DiskFull = 41
0x0029 /* Disk full */
CrcFailed = 48
0x0030
MediaErase = 49
0x0031
FileError = 50
0x0032 /* File error. e.g. cannot open a file for writing because it could be write protected */
NoRetainMemory = 51
0x0033 /* No retain memory available */
OutOfLimitsMin = 52
0x0034 /* Specified minimum-limit of a resource exceeded */
OutOfLimitsMax = 53
0x0035 /* Specified maximum-limit of a resource exceeded */
SizeMismatch = 54
0x0036 /* Size mismatch */
CallAgain = 55
0x0037 /* Operation is not yet finished, call function again to proceed */
NothingToDo = 56
0x0038 /* Operation has nothing to do. No execution. */
SecurityChecksFailed = 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. */
InvalidSequence = 58
0x003A
InvalidReference = 59
0x003B /* Dereferencing an IEC reference in IecVarAccess failed due to invalid destination address, e. G. NULL. */
ConversionIncomplete = 60
0x003C /* Conversion of string encodings was not lossless. */
TooManyRetries = 61
0x003D /* Too many retries of an action */
Alignment = 62
0x003E /* There is an unaligned access on memory detected. */
ChangePassword = 63
0x003F /* The password has to be changed */
Reauthenticate = 64
0x0040 /* The user has to reauthenticate oneself */
Relogin = 65
0x0041 /* The user has to relogin */
InvalidUrl = 66
0x0042 /* An URL was not valid. */
InvalidState = 67
0x0043 /* The component state does not allow to call this function. */
UserMismatch = 68
0x0044 /* User mismatch */
NotReadyYet = 69
0x0045 /* The service is not ready yet. Try again later */
ActivateUsermgmt = 70
0x0046 /* The user management has to be activated. */
NoUsermgmt = 71
0x0047 /* A login was done with a user name, but no user management is active. */
InvalidEncoding = 72
0x0048 /* A string encoding was not correct. */
TargetMismatch = 73
0x0049 /* Target mismatch detected */
ClientInRoMode = 74
0x004A /* Client is in readonly mode and has no rights for this service. */
LicenseExceeded = 75
0x004B /* License is not sufficient */
AsyncException = 76
0x004C /* Exception occured during execution of async service task */
NoSignature = 77
0x004D /* Object contains no siganture */
NetFailed = 256
Getwork errors (r0100 - =0; // 0x010F)
0x0100 /* General failure of a network call */
NetNotconnected = 257
0x0101 /* Connection not established or closed */
NetMsgsize = 258
0x0102 /* Message exceeds the maximum message size */
NetNoroute = 259
0x0103 /* No route found */
NetTimeout = 262
0x0104 /* Timeout of the network call */
NetPkginvalid = 261
0x0105 /* A network (Layer 3) package is invalid */
SvcPkginvalid = 288
Nervice errors (issued by the server of a network service) (x0120 - =0; // 0x012F)
0x0120 /* The received package is not compliant with the service specification */
SvcInvalidservice = 289
0x0121 /* The requested service does not exist */
SvcVersionMismatch = 290
0x0122 /* The requested service version does not exist */
ClntPkginvalid = 320
Nlient errors (issued by the client of a network service) (x0140 - =0; // 0x014F)
0x0140 /* The received package is not compliant with the service specification */
DevsLoginfailed = 368
Drver errors (r0170 - =0; // 0x017F)
0x0170 /* User login failed */
DevsSessiontimeout = 369
0x0171 /* Inactive session closed due to timeout */
DevsChannelclosed = 370
0x0172 /* Channel has been closed */
ChsChinvalid = 385
Cerver (PLC) errors (r0180 - =0; // 0x019F)
0x0181 /* Channel Id invalid */
ChsTimeout = 386
0x0182 /* Channel closed due to a timeout */
ChsProtocol = 387
0x0183 /* Protocol error */
ChsChecksum = 388
0x0184 /* Inrecoverable transmission error (checksum) etc. */
ChsModehost = 389
0x0185 /* The server application tried to send a message although the channel is in receive mode */
ChsModepeer = 390
0x0186 /* Incoming message although the channel is in send mode. */
ChsNumchannels = 391
0x0187 /* No more channels available. */
ChsClosed = 392
0x0188 /* Channel closed by peer */
ChsMessagesize = 393
0x0189 /* Message exceeds the commbuffer size */
ChsReqnothandled = 394
0x018A /* The server application didn’t properly handle an incoming request */
ChsShutdown = 395
0x018B /* The channel is closed due a runtime system shutdown */
ChsEncryptionNotReadyYet = 396
0x018C /* The CmpSecureChannel is not ready for encrypted communication. Try again later */
ChsNotserver = 400
0x0190 /* This node is not a server node */
ChcChinvalid = 417
Client (eg. the gateway) errors (r01A0 - =0; // 0x01BF)
0x01A1 /* Channel Id invalid */
ChcTimeout = 418
0x01A2 /* Channel closed or connect failed due to a timeout */
ChcProtocol = 419
0x01A3 /* Protocol error */
ChcChecksum = 420
0x01A4 /* Inrecoverable transmission error (checksum) etc. */
ChcModehost = 421
0x01A5 /* The client application tried to send a message although the channel is in receive mode */
ChcModepeer = 422
0x01A6 /* Incoming message although the channel is in send mode. */
ChcNumchannels = 423
0x01A7 /* No more channels available. */
ChcClosed = 424
0x01A8 /* Channel closed by peer */
ChcMessagesize = 425
0x01A9 /* Message exceeds the commbuffer size */
ChcNochbuffer = 426
0x01AA /* Not enough memory to provide the required communication buffer */
GwInvalidpkg = 448
Grrors (Client-Gateway communication) (x01C0 - =0; // 0x01D0)
0x01C0 /* Invalid pkg */
GwProtocol = 449
0x01C1 /* Protocol error */
GwVersion = 450
0x01C2 /* Clients protocol version cannot be handled */
GwNoauthmodule = 454
0x01C3 /* The authentication modules provided by the client are not available on the gateway */
GwUnknowncmd = 452
0x01C4 /* Command or command group not known by the gateway */
GwReqcanceled = 453
0x01C5 /* The request has been canceled by a cancelrequest message */
GwCancelfailed = 455
0x01C7 /* The referenced request cannot be canceled (certain requests may not be canceled once they are initiated) */
GwInvalidconn = 456
0x01C8 /* The connection handle is invalid. */
GwNumconnections = 457
0x01C9 /* GWClient/driver can’t handle another connection. */
GwParameterNotSupported = 458
0x01CA /* Parameter values are not supported by the negotiated protocol version between GwClient and Gateway (old Gateway). */
GwCommandNotSupported = 459
0x01CB /* Command is not supported by the negotiated protocol version between GwClient and Gateway (old Gateway). */
GwClientTimeout = 460
0x01CC /* GwClient has not received any data within the timeout */
GwTimeout = 461
0x01CD /* Gateway has not received any data within the timeout */
SockNotinitialized = 513
Srors (r0200 - =0; // 0x02FF)
0x0201
SockNotsocket = 514
0x0202 /* The provided socket handle is invalid */
SockAfunsupported = 515
0x0203 /* The address family is not supported */
SockProtounsupported = 516
0x0204 /* Protocol is not supported */
SockNobuffer = 517
0x0205 /* Not enough buffer to handle the request */
SockWouldblock = 518
0x0206 /* Socket is in nonblocking mode but this call would block */
SockAddrinuse = 519
0x0207 /* The provided address is already in use */
SockAddrnotavailable = 520
0x0208 /* The provided address is not available on this computer */
SockConnrefused = 521
0x0209 /* Connection has been refused by the remote host */
SockTimedout = 522
0x020A /* Operation timed out */
SockHostnotfound = 523
0x020B /* The host has not been found */
SockHostunreachable = 524
0x020C /* Host is unreachable */
SockIsconnected = 525
0x020D /* Socket is already connected */
SockNotconnected = 526
0x020E /* The socket is not connected */
SockShutdown = 527
0x020F /* Shutdown has been called on the socket */
SockMsgsize = 528
0x0210 /* For sockets of type DGRAM. The package to send exceeds the maximum package size */
SockClosed = 529
0x0211 /* Socket has been gracefully closed. No more send/receives allowed */
L7TagMissing = 768
Lol errors (r0300 - =0; // 0x03FF)
0x0300 /* Tag missing in online communication buffer */
L7Unknowncmdgroup = 769
0x0301 /* Unknown command group */
L7Unknowncmd = 770
0x0302 /* Unknown command (within a valid command group) */
L7Incomplete = 771
0x0303 /* Level 7 service incomplete */
L7Protocolmismatch = 772
0x0304 /* Received protocol does not match to the expected protocol on this channel */
BtagTagoverlap = 1_024
E the BinTagUtils library (x0400-=0; // 0x040F)
0x0400 /* A nested tag reaches beyond the end of the surrounding tag */
BtagBufferoverrun = 1_025
0x0401 /* A tag reaches beyond the end of the buffer */
BtagMaxnestingdepth = 1_026
0x0402 /* The number of nested tags exceeds the maximum nesting depth */
BtagNotag = 1_027
0x0403 /* No current tag - reader/writer is at the toplevel. */
BtagNodatatag = 1_028
0x0404 /* The current tag is not a data tag */
BtagNocontainertag = 1_029
0x0405 /* The operation is allowed only on a container tag not on a data tag */
BtagNottoplevel = 1_030
0x0406 /* Operation only allowed on toplevel (not inside a tag) */
BtagAlignment = 1_031
0x0407 /* Invalid alignment */
AppExists = 1_280
E the Application component (x0500-=0; // 0x05FF)
0x0500 /* Application with same name exists */
AppNotExist = 1_281
0x0501 /* Application not available */
AppInvalidSessionid = 1_282
0x0502 /* Invalid sessionid */
AppInvalidDataid = 1_283
0x0503 /* Invalid dataid of application. Data don’t match! */
AppNotLoaded = 1_284
0x0504 /* Application not loaded */
AppNoSessionid = 1_285
0x0505 /* no sessionid specified */
AppUnresolvedReference = 1_286
0x0506 /* unresolved external function */
AppSignatureMismatch = 1_287
0x0507 /* signature mismatch */
AppLoadRetainDataFailed = 1_288
0x0508 /* loading retain data failed */
AppVersionMismatch = 1_289
0x0509 /* Version mismatch of an external lib function */
AppRetainMismatch = 1_290
0x050A /* Retain mismatch of the retain area */
AppSinglecycleOnBreakpoint = 1_291
0x050B /* Ask, if single cycle should be done on breakpoint */
AppCreateBootprojectFailed = 1_292
0x050C /* Bootproject could not be created */
AppBpConditionTooComplex = 1_293
0x50D /* Breakpoint condition too complex */
AppBpBreakpointNotSet = 1_294
0x50E /* Breakpoint could not be set */
AppBpInterpCodeTooComplex = 1_295
0x50F /* Interpreter code for Breakpoint is too complex */
AppCreateBootprojectFailedDiskFull = 1_296
0x0510 /* Bootproject could not be created, disk full */
AppLoadingCintegrationModules = 1_297
0x0511 /* Loading any of the C-Integration modules failed */
AppDontInitArea = 1_298
0x0512 /* Don’t initialize area */
AppMappedAreaNotFound = 1_299
0x0513 /* A data segment has been mapped to an area that could not be found */
AppSignatureMissing = 1_230
0x0514 /* The digital signature of the download is missing. This is requried by the runtime configuration */
AppDecryptionFailed = 1_231
0x0515 /* The decrytion of the application code failed */
AppEncryptionMissing = 1_232
0x0516 /* The application code is not encrypted. This is required by the runtime */
AppSignatureAndEncryptionMissing = 1_233
0x0517 /* The application code is not signed and encrypted */
AppBpBreakpointNotDeleted = 1_304
0x0518 /* Breakpoint could not be deleted */
TlsInternal = 1_536
0x0600 /* Internal Error of TLS component */
TlsRandNotInit = 1_537
0x0601 /* Random number generator was not seeded with enough entropy */
TlsInvalidSockettype = 1_538
0x0602 /* The configured type of the socket does not allow this operation */
TlsAlreadyStarted = 1_539
0x0603 /* The TLS handshake has already been done */
TlsConnectionClosed = 1_552
Iions
0x0610 /* The TLS connection has been closed. */
TlsRetryOperation = 1_556
0x0611 /* The same TLS operation should be called again */
TlsIoSystem = 1_554
0x0612 /* The underlaying transport caused a problem */
TlsWantRead = 1_555
0x0613 /* The finish this operation data have to be read. The data was not available. Receive TLS protocol data to finish this operation */
TlsCertInvalid = 1_568
Cte errors
0x0620
TlsCertSelfsigned = 1_569
0x0621
TlsCertExpired = 1_570
0x0622
CertUnableToGetIssuerCert = 1_793
irror (for uninitialized values, to avoid ERR_CERT_OK)
0x701
CertUnableToGetCrl = 1_794
0x702
CertUnableToDecryptCertSignature = 1_795
0x703
CertUnableToDecryptCrlSignature = 1_796
0x704
CertUnableToDecodeIssuerPublicKey = 1_797
0x705
CertSignatureFailure = 1_798
0x706
CertCrlSignatureFailure = 1_799
0x707
CertNotYetValid = 1_800
0x708
CertHasExpired = 1_801
0x709
CertCrlNotYetValid = 1_802
0x70a
CertCrlHasExpired = 1_803
0x70b
CertErrorInCertNotBeforeField = 1_804
0x70c
CertErrorInCertNotAfterField = 1_805
0x70d
CertErrorInCrlLastUpdateField = 1_806
0x70e
CertErrorInCrlNextUpdateField = 1_807
0x70f
CertOutOfMem = 1_808
0x710
CertDepthZeroSelfSignedCert = 1_809
0x711
CertSelfSignedCertInChain = 1_810
0x712
CertUnableToGetIssuerCertLocally = 1_811
0x713
CertUnableToVerifyLeafSignature = 1_812
0x714
CertChainTooLong = 1_813
0x715
CertRevoked = 1_814
0x716
CertInvalidCa = 1_815
0x717
CertPathLengthExceeded = 1_816
0x718
CertInvalidPurpose = 1_817
0x719
CertUntrusted = 1_818
0x71a
CertRejected = 1_819
0x71b
CertSubjectIssuerMismatch = 1_820
T ‘informational’ when looking for issuer cert
0x71c
CertAkidSkidMismatch = 1_821
0x71d
CertAkidIssuerSerialMismatch = 1_822
0x71e
CertKeyusageNoCertsign = 1_823
0x71f
CertUnableToGetCrlIssuer = 1_824
0x720
CertUnhandledCriticalExtension = 1_825
0x721
CertKeyusageNoCrlSign = 1_826
0x722
CertUnhandledCriticalCrlExtension = 1_827
0x723
CertInvalidNonCa = 1_828
0x724
CertProxyPathLengthExceeded = 1_829
0x725
CertKeyusageNoDigitalSignature = 1_830
0x726
CertProxyCertificatesNotAllowed = 1_831
0x727
CertInvalidExtension = 1_832
0x728
CertInvalidPolicyExtension = 1_833
0x729
CertNoExplicitPolicy = 1_834
0x72a
CertDifferentCrlScope = 1_835
0x72b
CertUnsupportedExtensionFeature = 1_836
0x72c
CertUnnestedResource = 1_837
0x72d
CertPermittedViolation = 1_838
0x72e
CertExcludedViolation = 1_839
0x72f
CertSubtreeMinmax = 1_840
0x730
CertUnsupportedConstraintType = 1_841
0x731
CertUnsupportedConstraintSyntax = 1_842
0x732
CertUnsupportedNameSyntax = 1_843
0x733
CertCrlPathValidationError = 1_844
0x734
CertApplicationVerification = 1_845
Tcation is not happy
0x735
CertMissing = 1_846
0x736
CertUnknownError = 1_847
0x737
P12UnknownError = 1_872
0x750 /* The p12 operation failed for an unknown reason */
P12MacInvalid = 1_873
0x751 /* The MAC of the p12 operation was invalid. Typically this is because of a wrong passphrase */
P12UnsupportedCipher = 1_874
0x752 /* The p12 container was created with an unsupported encryption algorithm */
P12UnsupportedDigest = 1_875
0x753 /* The p12 container was created with an unsupported digest algorithm */
P12UnsupportedOption = 1_876
0x754 /* The p12 container was created with an unsupported option. */
P12ParseError = 1_877
0x755 /* The p12 container could not be parsed. */
P12KeyNomatch = 1_878
0x756 /* The private key of the p12 container does not match the certifictate within the container. */
P12NoKey = 1_879
0x757 /* The p12 container does not contain a private key. */
P12NoCert = 1_880
0x758 /* The p12 container does not contain a certificate. */
DmsServiceNotRunning = 2_049
Dnagement errors (x800 - =0; // 0x8FF)
0x801 /* The corresponding device management service is not running and cannot be started! */
MonitoringErrNestingDepth = 6
0x06
MonitoringErrNoConsistency = 7
0x07
MonitoringErrBuffersizeExceeded = 8
0x08
MonitoringErrInvalidIndex = 9
0x09
MonitoringErrUnknown = 255
0xff
FtFileSizeMismatch = 2_048
Ffer errors
0x0800 /* File size don’t match */
IecvaraccUnknownNodeType = 2_304
Iess errors
0x0900 /* Unknown symbolic node type */
IecvaraccNoChildNode = 2_305
0x0901 /* No child not available */
IecvaraccConfigChanged = 2_306
0x0902 /* Symbolconfiguration has changed */
IecvaraccSyncConsistencyDenied = 2_307
0x0903 /* AF_ALLOW_SYMBOLIC_VARIABLE_ACCESS_IN_SYNC_WITH_IEC_TASK is not set for all applications on the device*/
EdgeInvalidMessageid = 2_560
0x0A00 /* A received message id was invalid. */
EdgeInvalidState = 2_561
0x0A01 /* A session is in an invalid state. */
EdgeSessionidInvalid = 2_562
0x0A02 /* Unknown session id requested */
EdgePkginvalid = 2_563
0x0A03 /* The received package is not compliant with the service specification */
EdgeNobuffer = 2_564
0x0A04 /* Not enough buffer to handle the request */
EdgeTimeout = 2_565
0x0A05 /* Timeout of the request */
EdgeVarMismatch = 2_566
0x0A06 /* The requested variable type or size does not match, maybe out of date */
EdgePlcNotConnected = 2_567
0x0A07 /* The PLC state is not in state STATE_RUNNING */
EdgePlcNoCyclicListDefined = 2_568
0x0A08 /* Invalid variable list specified */
EdgeCommFatal = 2_569
0x0A09 /* Communication error occurred during symbol load */
ReduTooTags = 2_816
Vndancy errors
0x0B00 /* Too many tags */
ReduMemory = 2_817
0x0B01 /* Memory error during ID creation */
ReduClientCreationErr = 2_818
0x0B02 /* Client creation error */
DmSigSigMalformedCertificate = 2_819
0x0B03 /* This CFA Signature Scheme v1 signer’s certificate could not be parsed. */
DmSigSigMalformedSignature = 2_820
0x0B04 /* Failed to parse this signer’s signature record contained in the CFA Signature Scheme v1 signature. */
DmSigSigMalformedDigest = 2_821
0x0B05 /* Failed to parse this signer’s digest record contained in the CFA Signature Scheme v1 signature. */
DmSigSigMalformedAdditionalAttribute = 2_822
0x0B06 /* This CFA Signature Scheme v1 signer contains a malformed additional attribute. */
DmSigSigNoSigners = 2_823
0x0B07 /* No signers in CFA Signature Scheme v1 signature */
DmSigSigUnknownSigAlgorithm = 2_824
0x0B08 /* This CFA Signature Scheme v1 signer contains a signature produced using an unknown algorithm. */
DmSigSigUnknownAdditionalAttribute = 2_825
0x0B09 /* This CFA Signature Scheme v1 signer contains an unknown additional attribute. */
DmSigSigVerifyError = 2_826
0x0B0A /* An error was encountered while verifying CFA Signature Scheme v1 signature of this signer. */
DmSigSigDidNotVerify = 2_827
0x0B0B /* Signature over signed-data did not verify */
DmSigSigNoSignatures = 2_828
0x0B0C /* No signatures */
DmSigSigNoSupportedSignatures = 2_829
0x0B0D /* No supported signatures */
DmSigSigNoCertificates = 2_830
0x0B0E /* No certificates */
DmSigSigPublicKeyMismatchBetweenCertificateAndSignaturesRecord = 2_831
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. */
DmSigSigSigAlgMismatchBetweenSignaturesAndDigestsRecords = 2_832
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. */
DmSigSigCfaDigestDidNotVerify = 2_833
0x0B11 /* The CFA’s digest does not match the digest contained in the CFA Signature Scheme v1 signature. */
DmSigCfaSigBlockUnknownEntryId = 2_834
0x0B12 /* CFA Signing Block contains an unknown entry. */
OemStart = 32_768
Ofic error code range
0x8000 /* OEM error range start */
OemEnd = 65_535
0xFFFF /* OEM error range end */
Implementations§
Source§impl Err
impl Err
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.