Errors

errors.py - Contains error classes and method(s) to handle error.

exception nirfmxwlan.errors.DriverNotInstalledError[source]

Bases: Error

An error due to using this module without the driver runtime installed.

exception nirfmxwlan.errors.DriverTooNewError[source]

Bases: Error

An error due to the NI-RFmxWLAN driver runtime being too new for this module.

exception nirfmxwlan.errors.DriverTooOldError[source]

Bases: Error

An error due to using this module with an older version of the NI-RFmxWLAN driver runtime.

exception nirfmxwlan.errors.Error(message)[source]

Bases: Exception

Base error class for NI-RFmxWLAN.

exception nirfmxwlan.errors.RpcError(rpc_code, description)[source]

Bases: Error

An error specific to sessions to the NI gRPC Device Server.

exception nirfmxwlan.errors.UnsupportedConfigurationError[source]

Bases: Error

An error due to using this module in an usupported platform.

nirfmxwlan.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-RFmxWLAN Library.

It calls back into the LibraryInterpreter to get the corresponding error description and raises if necessary.