Source code for zhinst.toolkit.exceptions
"""Global zhinst-toolkit exceptions."""
[docs]class ToolkitError(RuntimeError):
"""Base class for `zhinst.toolkit` errors.
.. versionadded:: 0.5.1
"""
[docs]class ValidationError(ToolkitError):
"""Data validation failed.
.. versionchanged:: 0.5.1
Changed base class from `Exception` to `ToolkitError`.
"""