Source code for pytac.exceptions
"""Module containing all the exceptions used in pytac."""
[docs]
class FieldException(Exception):
"""Exception associated with invalid field requests."""
pass
[docs]
class HandleException(Exception):
"""Exception associated with requests with invalid handles."""
pass
[docs]
class DataSourceException(Exception):
"""Exception associated with Device misconfiguration or invalid requests to
a data source.
"""
pass
[docs]
class UnitsException(Exception):
"""Conversion not understood."""
pass
[docs]
class ControlSystemException(Exception):
"""Exception associated with control system misconfiguration."""
pass