Source code for aioswitcher.errors
"""Switcher water heater unofficial API and bridge, Exception classes.
.. codeauthor:: Tomer Figenblat <tomer.figenblat@gmail.com>
"""
[docs]class CalculationError(Exception):
"""Exception to be raised when cpu bound calculation is failing."""
[docs]class DecodingError(Exception):
"""Exception to be raised when cpu bound decoding is failing."""
[docs]class EncodingError(Exception):
"""Exception to be raised when cpu bound encoding is failing."""