Errors
errors.py - Contains error classes and method(s) to handle error.
- exception nirfmxspecan.errors.DriverNotInstalledError[source]
Bases:
ErrorAn error due to using this module without the driver runtime installed.
- exception nirfmxspecan.errors.DriverTooNewError[source]
Bases:
ErrorAn error due to the NI-RFmxSpecAn driver runtime being too new for this module.
- exception nirfmxspecan.errors.DriverTooOldError[source]
Bases:
ErrorAn error due to using this module with an older version of the NI-RFmxSpecAn driver runtime.
- exception nirfmxspecan.errors.Error(message)[source]
Bases:
ExceptionBase error class for NI-RFmxSpecAn.
- exception nirfmxspecan.errors.UnsupportedConfigurationError[source]
Bases:
ErrorAn error due to using this module in an usupported platform.
- nirfmxspecan.errors.handle_error(library_interpreter: Any, code: int, ignore_warnings: bool, is_error_handling: bool) None[source]
Helper function for handling errors returned by NI-RFmxSpecAn Library.
It calls back into the LibraryInterpreter to get the corresponding error description and raises if necessary.