2020-04-06 11:52:18 +02:00
|
|
|
# Copyright © 2020 Interplanetary Database Association e.V.,
|
|
|
|
# BigchainDB and IPDB software contributors.
|
2018-08-16 12:31:32 +02:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
|
|
|
|
# Code is Apache-2.0 and docs are CC-BY-4.0
|
|
|
|
|
|
|
|
|
2016-12-21 17:46:57 +01:00
|
|
|
class BigchainDBError(Exception):
|
|
|
|
"""Base class for BigchainDB exceptions."""
|
2017-03-07 13:15:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
class CriticalDoubleSpend(BigchainDBError):
|
|
|
|
"""Data integrity error that requires attention"""
|