Exceptions¶
The linuxnet.qos package uses the following exception hierarchy:
TcError
|
|____ TcConfigError
| |
| |_____ TcParsingError
|
|
|____ TcExecutionError
|
|
|____ TcBandwidthError
- exception TcError[source]¶
Traffic control error; this is the base exception class for all QoS-related exceptions.
- exception TcConfigError[source]¶
Bases:
TcErrorRaised when an error is encountered while processing the existing queuing discipline configuration of an interface.
- exception TcParsingError(*args, **kwargs)[source]¶
Bases:
TcConfigErrorError while parsing the output of the tc(8) command.
- exception TcExecutionError(msg, procerr=None)[source]¶
Bases:
TcErrorError executing the tc(8) command.