bigchaindb/bigchaindb/backend/exceptions.py
2017-01-31 17:13:26 +01:00

10 lines
261 B
Python

from bigchaindb.exceptions import BigchainDBError
class ConnectionError(BigchainDBError):
"""Exception raised when the connection to the DataBase fails."""
class DatabaseOpFailedError(BigchainDBError):
"""Exception for database operation errors."""