Add Asset exceptions

This commit is contained in:
tim 2016-09-28 11:03:32 +02:00 committed by Sylvain Bellemare
parent 4f72ba9e1e
commit 095f3c203d

View File

@ -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"""