nixnet.errors

exception nixnet.errors.XnetError(message: str, error_code: int)[source]

Bases: Error

Error raised by any NI-XNET method.

property error_code: int

Error code reported by NI-XNET.

Type:

int

property error_type: Err

Error type reported by NI-XNET.

Type:

nixnet._enums.Err

nixnet.errors.XnetResourceWarning

alias of ResourceWarning

exception nixnet.errors.XnetWarning(message: str, warning_code: int)[source]

Bases: Warning

Warning raised by any NI-XNET method.

property warning_code: int

Warning code reported by NI-XNET.

Type:

int

property warning_type: Warn | None

Warning type reported by NI-XNET.

Type:

nixnet._enums.Warn