chainqueue/chainqueue/error.py

15 lines
334 B
Python
Raw Normal View History

2021-04-02 11:51:00 +02:00
class ChainQueueException(Exception):
pass
class NotLocalTxError(ChainQueueException):
2021-04-02 10:48:54 +02:00
"""Exception raised when trying to access a tx not originated from a local task
"""
pass
2021-04-02 11:51:00 +02:00
class TxStateChangeError(ChainQueueException):
"""Raised when an invalid state change of a queued transaction occurs
"""
pass