Source code for sample.exceptions
"""
Specific application exceptions.
"""
[docs]
class SveetchPythonSampleBaseException(Exception):
"""
Exception base.
You should never use it directly except for test purpose. Instead make or
use a dedicated exception related to the error context.
"""
pass
[docs]
class AppOperationError(SveetchPythonSampleBaseException):
"""
Sample exception to raise from your code.
"""
pass