mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-12 18:12:44 +08:00
BUG: TransactionVolumeExceedsOrder was referenced but not defined
This commit is contained in:
@@ -104,6 +104,15 @@ Transaction {txn} not in same direction as corresponding order {order}.
|
||||
|
||||
|
||||
class TransactionWithNoAmount(ZiplineError):
|
||||
"""
|
||||
Raised if a transact call returns a transaction with zero amount.
|
||||
"""
|
||||
msg = """
|
||||
Transaction {txn} has an amount of zero.
|
||||
""".strip()
|
||||
|
||||
|
||||
class TransactionVolumeExceedsOrder(ZiplineError):
|
||||
"""
|
||||
Raised if a transact call returns a transaction with a volume greater than
|
||||
the corresponding order.
|
||||
|
||||
Reference in New Issue
Block a user