#[repr(i64)]pub enum ErrorCode {
Show 80 variants
ErrorSystemError = 3_221_159_936,
ErrorInvObject = 3_221_159_950,
ErrorRsrcLocked = 3_221_159_951,
ErrorInvExpr = 3_221_159_952,
ErrorRsrcNfound = 3_221_159_953,
ErrorInvRsrcName = 3_221_159_954,
ErrorInvAccMode = 3_221_159_955,
ErrorTmo = 3_221_159_957,
ErrorClosingFailed = 3_221_159_958,
ErrorInvDegree = 3_221_159_963,
ErrorInvJobId = 3_221_159_964,
ErrorNsupAttr = 3_221_159_965,
ErrorNsupAttrState = 3_221_159_966,
ErrorAttrReadonly = 3_221_159_967,
ErrorInvLockType = 3_221_159_968,
ErrorInvAccessKey = 3_221_159_969,
ErrorInvEvent = 3_221_159_974,
ErrorInvMech = 3_221_159_975,
ErrorHndlrNinstalled = 3_221_159_976,
ErrorInvHndlrRef = 3_221_159_977,
ErrorInvContext = 3_221_159_978,
ErrorQueueOverflow = 3_221_159_981,
ErrorNenabled = 3_221_159_983,
ErrorAbort = 3_221_159_984,
ErrorRawWrProtViol = 3_221_159_988,
ErrorRawRdProtViol = 3_221_159_989,
ErrorOutpProtViol = 3_221_159_990,
ErrorInpProtViol = 3_221_159_991,
ErrorBerr = 3_221_159_992,
ErrorInProgress = 3_221_159_993,
ErrorInvSetup = 3_221_159_994,
ErrorQueueError = 3_221_159_995,
ErrorAlloc = 3_221_159_996,
ErrorInvMask = 3_221_159_997,
ErrorIo = 3_221_159_998,
ErrorInvFmt = 3_221_159_999,
ErrorNsupFmt = 3_221_160_001,
ErrorLineInUse = 3_221_160_002,
ErrorNsupMode = 3_221_160_006,
ErrorSrqNoccurred = 3_221_160_010,
ErrorInvSpace = 3_221_160_014,
ErrorInvOffset = 3_221_160_017,
ErrorInvWidth = 3_221_160_018,
ErrorNsupOffset = 3_221_160_020,
ErrorNsupVarWidth = 3_221_160_021,
ErrorWindowNmapped = 3_221_160_023,
ErrorRespPending = 3_221_160_025,
ErrorNlisteners = 3_221_160_031,
ErrorNcic = 3_221_160_032,
ErrorNsysCntlr = 3_221_160_033,
ErrorNsupOper = 3_221_160_039,
ErrorIntrPending = 3_221_160_040,
ErrorAsrlParity = 3_221_160_042,
ErrorAsrlFraming = 3_221_160_043,
ErrorAsrlOverrun = 3_221_160_044,
ErrorTrigNmapped = 3_221_160_046,
ErrorNsupAlignOffset = 3_221_160_048,
ErrorUserBuf = 3_221_160_049,
ErrorRsrcBusy = 3_221_160_050,
ErrorNsupWidth = 3_221_160_054,
ErrorInvParameter = 3_221_160_056,
ErrorInvProt = 3_221_160_057,
ErrorInvSize = 3_221_160_059,
ErrorWindowMapped = 3_221_160_064,
ErrorNimplOper = 3_221_160_065,
ErrorInvLength = 3_221_160_067,
ErrorInvMode = 3_221_160_081,
ErrorSesnNlocked = 3_221_160_092,
ErrorMemNshared = 3_221_160_093,
ErrorLibraryNfound = 3_221_160_094,
ErrorNsupIntr = 3_221_160_095,
ErrorInvLine = 3_221_160_096,
ErrorFileAccess = 3_221_160_097,
ErrorFileIo = 3_221_160_098,
ErrorNsupLine = 3_221_160_099,
ErrorNsupMech = 3_221_160_100,
ErrorIntfNumNconfig = 3_221_160_101,
ErrorConnLost = 3_221_160_102,
ErrorMachineNavail = 3_221_160_103,
ErrorNpermission = 3_221_160_104,
}Variants§
ErrorSystemError = 3_221_159_936
Unknown system error (miscellaneous error).
ErrorInvObject = 3_221_159_950
The given session or object reference is invalid.
ErrorRsrcLocked = 3_221_159_951
Specified type of lock cannot be obtained or specified operation cannot be performed, because the resource is locked.
ErrorInvExpr = 3_221_159_952
Invalid expression specified for search.
ErrorRsrcNfound = 3_221_159_953
Insufficient location information or the device or resource is not present in the system.
ErrorInvRsrcName = 3_221_159_954
Invalid resource reference specified. Parsing error.
ErrorInvAccMode = 3_221_159_955
Invalid access mode.
ErrorTmo = 3_221_159_957
Timeout expired before operation completed.
ErrorClosingFailed = 3_221_159_958
Unable to deallocate the previously allocated data structures corresponding to this session or object reference.
ErrorInvDegree = 3_221_159_963
Specified degree is invalid.
ErrorInvJobId = 3_221_159_964
Specified job identifier is invalid.
ErrorNsupAttr = 3_221_159_965
The specified attribute is not defined or supported by the referenced session, event, or find list.
ErrorNsupAttrState = 3_221_159_966
The specified state of the attribute is not valid, or is not supported as defined by the session, event, or find list.
ErrorAttrReadonly = 3_221_159_967
The specified attribute is Read Only.
ErrorInvLockType = 3_221_159_968
The specified type of lock is not supported by this resource.
ErrorInvAccessKey = 3_221_159_969
The access key to the resource associated with this session is invalid.
ErrorInvEvent = 3_221_159_974
Specified event type is not supported by the resource.
ErrorInvMech = 3_221_159_975
Invalid mechanism specified.
ErrorHndlrNinstalled = 3_221_159_976
A handler is not currently installed for the specified event.
ErrorInvHndlrRef = 3_221_159_977
The given handler reference is invalid.
ErrorInvContext = 3_221_159_978
Specified event context is invalid.
ErrorQueueOverflow = 3_221_159_981
The event queue for the specified type has overflowed (usually due to previous events not having been closed).
ErrorNenabled = 3_221_159_983
The session must be enabled for events of the specified type in order to receive them.
ErrorAbort = 3_221_159_984
The operation was aborted.
ErrorRawWrProtViol = 3_221_159_988
Violation of raw write protocol occurred during transfer.
ErrorRawRdProtViol = 3_221_159_989
Violation of raw read protocol occurred during transfer.
ErrorOutpProtViol = 3_221_159_990
Device reported an output protocol error during transfer.
ErrorInpProtViol = 3_221_159_991
Device reported an input protocol error during transfer.
ErrorBerr = 3_221_159_992
Bus error occurred during transfer.
ErrorInProgress = 3_221_159_993
Unable to queue the asynchronous operation because there is already an operation in progress.
ErrorInvSetup = 3_221_159_994
Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state).
ErrorQueueError = 3_221_159_995
Unable to queue asynchronous operation (usually due to the I/O completion event not being enabled or insufficient space in the session’s queue).
ErrorAlloc = 3_221_159_996
Insufficient system resources to perform necessary memory allocation.
ErrorInvMask = 3_221_159_997
Invalid buffer mask specified.
ErrorIo = 3_221_159_998
Could not perform operation because of I/O error.
ErrorInvFmt = 3_221_159_999
A format specifier in the format string is invalid.
ErrorNsupFmt = 3_221_160_001
A format specifier in the format string is not supported.
ErrorLineInUse = 3_221_160_002
The specified trigger line is currently in use.
ErrorNsupMode = 3_221_160_006
The specified mode is not supported by this VISA implementation.
ErrorSrqNoccurred = 3_221_160_010
Service request has not been received for the session.
ErrorInvSpace = 3_221_160_014
Invalid address space specified.
ErrorInvOffset = 3_221_160_017
Invalid offset specified.
ErrorInvWidth = 3_221_160_018
Invalid source or destination width specified.
ErrorNsupOffset = 3_221_160_020
Specified offset is not accessible from this hardware.
ErrorNsupVarWidth = 3_221_160_021
Cannot support source and destination widths that are different.
ErrorWindowNmapped = 3_221_160_023
The specified session is not currently mapped.
ErrorRespPending = 3_221_160_025
A previous response is still pending, causing a multiple query error.
ErrorNlisteners = 3_221_160_031
No Listeners condition is detected (both NRFD and NDAC are deasserted).
ErrorNcic = 3_221_160_032
The interface associated with this session is not currently the controller in charge.
ErrorNsysCntlr = 3_221_160_033
The interface associated with this session is not the system controller.
ErrorNsupOper = 3_221_160_039
The given session or object reference does not support this operation.
ErrorIntrPending = 3_221_160_040
An interrupt is still pending from a previous call.
ErrorAsrlParity = 3_221_160_042
A parity error occurred during transfer.
ErrorAsrlFraming = 3_221_160_043
A framing error occurred during transfer.
ErrorAsrlOverrun = 3_221_160_044
An overrun error occurred during transfer. A character was not read from the hardware before the next character arrived.
ErrorTrigNmapped = 3_221_160_046
The path from trigSrc to trigDest is not currently mapped.
ErrorNsupAlignOffset = 3_221_160_048
The specified offset is not properly aligned for the access width of the operation.
ErrorUserBuf = 3_221_160_049
A specified user buffer is not valid or cannot be accessed for the required size.
ErrorRsrcBusy = 3_221_160_050
The resource is valid, but VISA cannot currently access it.
ErrorNsupWidth = 3_221_160_054
Specified width is not supported by this hardware.
ErrorInvParameter = 3_221_160_056
The value of some parameter—which parameter is not known—is invalid.
ErrorInvProt = 3_221_160_057
The protocol specified is invalid.
ErrorInvSize = 3_221_160_059
Invalid size of window specified.
ErrorWindowMapped = 3_221_160_064
The specified session currently contains a mapped window.
ErrorNimplOper = 3_221_160_065
The given operation is not implemented.
ErrorInvLength = 3_221_160_067
Invalid length specified.
ErrorInvMode = 3_221_160_081
The specified mode is invalid.
ErrorSesnNlocked = 3_221_160_092
The current session did not have any lock on the resource.
The device does not export any memory.
ErrorLibraryNfound = 3_221_160_094
A code library required by VISA could not be located or loaded.
ErrorNsupIntr = 3_221_160_095
The interface cannot generate an interrupt on the requested level or with the requested statusID value.
ErrorInvLine = 3_221_160_096
The value specified by the line parameter is invalid.
ErrorFileAccess = 3_221_160_097
An error occurred while trying to open the specified file. Possible reasons include an invalid path or lack of access rights.
ErrorFileIo = 3_221_160_098
An error occurred while performing I/O on the specified file.
ErrorNsupLine = 3_221_160_099
One of the specified lines (trigSrc or trigDest) is not supported by this VISA implementation, or the combination of lines is not a valid mapping.
ErrorNsupMech = 3_221_160_100
The specified mechanism is not supported for the given event type.
ErrorIntfNumNconfig = 3_221_160_101
The interface type is valid but the specified interface number is not configured.
ErrorConnLost = 3_221_160_102
The connection for the given session has been lost.
The remote machine does not exist or is not accepting any connections.
ErrorNpermission = 3_221_160_104
Access to the resource or remote machine is denied. This is due to lack of sufficient privileges for the current user or machine.