#[repr(i32)]pub enum ErrorCode {
Show 80 variants
ErrorSystemError = -1_073_807_360,
ErrorInvObject = -1_073_807_346,
ErrorRsrcLocked = -1_073_807_345,
ErrorInvExpr = -1_073_807_344,
ErrorRsrcNfound = -1_073_807_343,
ErrorInvRsrcName = -1_073_807_342,
ErrorInvAccMode = -1_073_807_341,
ErrorTmo = -1_073_807_339,
ErrorClosingFailed = -1_073_807_338,
ErrorInvDegree = -1_073_807_333,
ErrorInvJobId = -1_073_807_332,
ErrorNsupAttr = -1_073_807_331,
ErrorNsupAttrState = -1_073_807_330,
ErrorAttrReadonly = -1_073_807_329,
ErrorInvLockType = -1_073_807_328,
ErrorInvAccessKey = -1_073_807_327,
ErrorInvEvent = -1_073_807_322,
ErrorInvMech = -1_073_807_321,
ErrorHndlrNinstalled = -1_073_807_320,
ErrorInvHndlrRef = -1_073_807_319,
ErrorInvContext = -1_073_807_318,
ErrorQueueOverflow = -1_073_807_315,
ErrorNenabled = -1_073_807_313,
ErrorAbort = -1_073_807_312,
ErrorRawWrProtViol = -1_073_807_308,
ErrorRawRdProtViol = -1_073_807_307,
ErrorOutpProtViol = -1_073_807_306,
ErrorInpProtViol = -1_073_807_305,
ErrorBerr = -1_073_807_304,
ErrorInProgress = -1_073_807_303,
ErrorInvSetup = -1_073_807_302,
ErrorQueueError = -1_073_807_301,
ErrorAlloc = -1_073_807_300,
ErrorInvMask = -1_073_807_299,
ErrorIo = -1_073_807_298,
ErrorInvFmt = -1_073_807_297,
ErrorNsupFmt = -1_073_807_295,
ErrorLineInUse = -1_073_807_294,
ErrorNsupMode = -1_073_807_290,
ErrorSrqNoccurred = -1_073_807_286,
ErrorInvSpace = -1_073_807_282,
ErrorInvOffset = -1_073_807_279,
ErrorInvWidth = -1_073_807_278,
ErrorNsupOffset = -1_073_807_276,
ErrorNsupVarWidth = -1_073_807_275,
ErrorWindowNmapped = -1_073_807_273,
ErrorRespPending = -1_073_807_271,
ErrorNlisteners = -1_073_807_265,
ErrorNcic = -1_073_807_264,
ErrorNsysCntlr = -1_073_807_263,
ErrorNsupOper = -1_073_807_257,
ErrorIntrPending = -1_073_807_256,
ErrorAsrlParity = -1_073_807_254,
ErrorAsrlFraming = -1_073_807_253,
ErrorAsrlOverrun = -1_073_807_252,
ErrorTrigNmapped = -1_073_807_250,
ErrorNsupAlignOffset = -1_073_807_248,
ErrorUserBuf = -1_073_807_247,
ErrorRsrcBusy = -1_073_807_246,
ErrorNsupWidth = -1_073_807_242,
ErrorInvParameter = -1_073_807_240,
ErrorInvProt = -1_073_807_239,
ErrorInvSize = -1_073_807_237,
ErrorWindowMapped = -1_073_807_232,
ErrorNimplOper = -1_073_807_231,
ErrorInvLength = -1_073_807_229,
ErrorInvMode = -1_073_807_215,
ErrorSesnNlocked = -1_073_807_204,
ErrorMemNshared = -1_073_807_203,
ErrorLibraryNfound = -1_073_807_202,
ErrorNsupIntr = -1_073_807_201,
ErrorInvLine = -1_073_807_200,
ErrorFileAccess = -1_073_807_199,
ErrorFileIo = -1_073_807_198,
ErrorNsupLine = -1_073_807_197,
ErrorNsupMech = -1_073_807_196,
ErrorIntfNumNconfig = -1_073_807_195,
ErrorConnLost = -1_073_807_194,
ErrorMachineNavail = -1_073_807_193,
ErrorNpermission = -1_073_807_192,
}Variants§
ErrorSystemError = -1_073_807_360
Unknown system error (miscellaneous error).
ErrorInvObject = -1_073_807_346
The given session or object reference is invalid.
ErrorRsrcLocked = -1_073_807_345
Specified type of lock cannot be obtained or specified operation cannot be performed, because the resource is locked.
ErrorInvExpr = -1_073_807_344
Invalid expression specified for search.
ErrorRsrcNfound = -1_073_807_343
Insufficient location information or the device or resource is not present in the system.
ErrorInvRsrcName = -1_073_807_342
Invalid resource reference specified. Parsing error.
ErrorInvAccMode = -1_073_807_341
Invalid access mode.
ErrorTmo = -1_073_807_339
Timeout expired before operation completed.
ErrorClosingFailed = -1_073_807_338
Unable to deallocate the previously allocated data structures corresponding to this session or object reference.
ErrorInvDegree = -1_073_807_333
Specified degree is invalid.
ErrorInvJobId = -1_073_807_332
Specified job identifier is invalid.
ErrorNsupAttr = -1_073_807_331
The specified attribute is not defined or supported by the referenced session, event, or find list.
ErrorNsupAttrState = -1_073_807_330
The specified state of the attribute is not valid, or is not supported as defined by the session, event, or find list.
ErrorAttrReadonly = -1_073_807_329
The specified attribute is Read Only.
ErrorInvLockType = -1_073_807_328
The specified type of lock is not supported by this resource.
ErrorInvAccessKey = -1_073_807_327
The access key to the resource associated with this session is invalid.
ErrorInvEvent = -1_073_807_322
Specified event type is not supported by the resource.
ErrorInvMech = -1_073_807_321
Invalid mechanism specified.
ErrorHndlrNinstalled = -1_073_807_320
A handler is not currently installed for the specified event.
ErrorInvHndlrRef = -1_073_807_319
The given handler reference is invalid.
ErrorInvContext = -1_073_807_318
Specified event context is invalid.
ErrorQueueOverflow = -1_073_807_315
The event queue for the specified type has overflowed (usually due to previous events not having been closed).
ErrorNenabled = -1_073_807_313
The session must be enabled for events of the specified type in order to receive them.
ErrorAbort = -1_073_807_312
The operation was aborted.
ErrorRawWrProtViol = -1_073_807_308
Violation of raw write protocol occurred during transfer.
ErrorRawRdProtViol = -1_073_807_307
Violation of raw read protocol occurred during transfer.
ErrorOutpProtViol = -1_073_807_306
Device reported an output protocol error during transfer.
ErrorInpProtViol = -1_073_807_305
Device reported an input protocol error during transfer.
ErrorBerr = -1_073_807_304
Bus error occurred during transfer.
ErrorInProgress = -1_073_807_303
Unable to queue the asynchronous operation because there is already an operation in progress.
ErrorInvSetup = -1_073_807_302
Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state).
ErrorQueueError = -1_073_807_301
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 = -1_073_807_300
Insufficient system resources to perform necessary memory allocation.
ErrorInvMask = -1_073_807_299
Invalid buffer mask specified.
ErrorIo = -1_073_807_298
Could not perform operation because of I/O error.
ErrorInvFmt = -1_073_807_297
A format specifier in the format string is invalid.
ErrorNsupFmt = -1_073_807_295
A format specifier in the format string is not supported.
ErrorLineInUse = -1_073_807_294
The specified trigger line is currently in use.
ErrorNsupMode = -1_073_807_290
The specified mode is not supported by this VISA implementation.
ErrorSrqNoccurred = -1_073_807_286
Service request has not been received for the session.
ErrorInvSpace = -1_073_807_282
Invalid address space specified.
ErrorInvOffset = -1_073_807_279
Invalid offset specified.
ErrorInvWidth = -1_073_807_278
Invalid source or destination width specified.
ErrorNsupOffset = -1_073_807_276
Specified offset is not accessible from this hardware.
ErrorNsupVarWidth = -1_073_807_275
Cannot support source and destination widths that are different.
ErrorWindowNmapped = -1_073_807_273
The specified session is not currently mapped.
ErrorRespPending = -1_073_807_271
A previous response is still pending, causing a multiple query error.
ErrorNlisteners = -1_073_807_265
No Listeners condition is detected (both NRFD and NDAC are deasserted).
ErrorNcic = -1_073_807_264
The interface associated with this session is not currently the controller in charge.
ErrorNsysCntlr = -1_073_807_263
The interface associated with this session is not the system controller.
ErrorNsupOper = -1_073_807_257
The given session or object reference does not support this operation.
ErrorIntrPending = -1_073_807_256
An interrupt is still pending from a previous call.
ErrorAsrlParity = -1_073_807_254
A parity error occurred during transfer.
ErrorAsrlFraming = -1_073_807_253
A framing error occurred during transfer.
ErrorAsrlOverrun = -1_073_807_252
An overrun error occurred during transfer. A character was not read from the hardware before the next character arrived.
ErrorTrigNmapped = -1_073_807_250
The path from trigSrc to trigDest is not currently mapped.
ErrorNsupAlignOffset = -1_073_807_248
The specified offset is not properly aligned for the access width of the operation.
ErrorUserBuf = -1_073_807_247
A specified user buffer is not valid or cannot be accessed for the required size.
ErrorRsrcBusy = -1_073_807_246
The resource is valid, but VISA cannot currently access it.
ErrorNsupWidth = -1_073_807_242
Specified width is not supported by this hardware.
ErrorInvParameter = -1_073_807_240
The value of some parameter—which parameter is not known—is invalid.
ErrorInvProt = -1_073_807_239
The protocol specified is invalid.
ErrorInvSize = -1_073_807_237
Invalid size of window specified.
ErrorWindowMapped = -1_073_807_232
The specified session currently contains a mapped window.
ErrorNimplOper = -1_073_807_231
The given operation is not implemented.
ErrorInvLength = -1_073_807_229
Invalid length specified.
ErrorInvMode = -1_073_807_215
The specified mode is invalid.
ErrorSesnNlocked = -1_073_807_204
The current session did not have any lock on the resource.
The device does not export any memory.
ErrorLibraryNfound = -1_073_807_202
A code library required by VISA could not be located or loaded.
ErrorNsupIntr = -1_073_807_201
The interface cannot generate an interrupt on the requested level or with the requested statusID value.
ErrorInvLine = -1_073_807_200
The value specified by the line parameter is invalid.
ErrorFileAccess = -1_073_807_199
An error occurred while trying to open the specified file. Possible reasons include an invalid path or lack of access rights.
ErrorFileIo = -1_073_807_198
An error occurred while performing I/O on the specified file.
ErrorNsupLine = -1_073_807_197
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 = -1_073_807_196
The specified mechanism is not supported for the given event type.
ErrorIntfNumNconfig = -1_073_807_195
The interface type is valid but the specified interface number is not configured.
ErrorConnLost = -1_073_807_194
The connection for the given session has been lost.
The remote machine does not exist or is not accepting any connections.
ErrorNpermission = -1_073_807_192
Access to the resource or remote machine is denied. This is due to lack of sufficient privileges for the current user or machine.