Returns the QoS corresponding to the given numeric value.
The QoS level (0, 1, or 2).
if value is not a valid QoS level.