mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Add Asset exceptions
This commit is contained in:
parent
4f72ba9e1e
commit
095f3c203d
@ -72,3 +72,11 @@ class CyclicBlockchainError(Exception):
|
||||
class FulfillmentNotInValidBlock(Exception):
|
||||
"""Raised when a transaction depends on an invalid or undecided
|
||||
fulfillment"""
|
||||
|
||||
|
||||
class AssetIdMismatch(Exception):
|
||||
"""Raised when multiple transaction inputs related to different assets"""
|
||||
|
||||
|
||||
class AmountError(Exception):
|
||||
"""Raised when the amount of a non-divisible asset is different then 1"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user