Source code for energy_analysis_toolbox.errors.base
"""Defines basic custom errors."""
[docs]
class EATError(Exception):
"""The base class for all except in |eat|.
All exceptions of |eat| library should inherit this class, such that exceptions
specific to this lib can easily be caught/identified.
"""
[docs]
class EATEmptyDataError(EATError):
"""An empty data container is passed, but this case cannot be managed."""