dashboard/backend/helpers/exceptions.py
Philipp Rothmann 07a2c46227 add backend
2022-10-21 12:44:04 +02:00

8 lines
318 B
Python

"""Custom exception handler to raise consistent exceptions, as different backend
raise different exceptions"""
class BackendError(Exception):
"""The backend error is raised when interacting with
the backend fails or gives an unexpected result. The
error contains a oneliner description of the problem"""