mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Make exceptions.py comply to 80 chars
This commit is contained in:
parent
c09b9fc0fd
commit
24852bd99f
@ -23,11 +23,13 @@ class DoubleSpend(Exception):
|
|||||||
|
|
||||||
|
|
||||||
class InvalidHash(Exception):
|
class InvalidHash(Exception):
|
||||||
"""Raised if there was an error checking the hash for a particular operation"""
|
"""Raised if there was an error checking the hash for a particular
|
||||||
|
operation"""
|
||||||
|
|
||||||
|
|
||||||
class InvalidSignature(Exception):
|
class InvalidSignature(Exception):
|
||||||
"""Raised if there was an error checking the signature for a particular operation"""
|
"""Raised if there was an error checking the signature for a particular
|
||||||
|
operation"""
|
||||||
|
|
||||||
|
|
||||||
class DatabaseAlreadyExists(Exception):
|
class DatabaseAlreadyExists(Exception):
|
||||||
@ -43,7 +45,8 @@ class KeypairNotFoundException(Exception):
|
|||||||
|
|
||||||
|
|
||||||
class KeypairMismatchException(Exception):
|
class KeypairMismatchException(Exception):
|
||||||
"""Raised if the private key(s) provided for signing don't match any of the curret owner(s)"""
|
"""Raised if the private key(s) provided for signing don't match any of the
|
||||||
|
current owner(s)"""
|
||||||
|
|
||||||
|
|
||||||
class StartupError(Exception):
|
class StartupError(Exception):
|
||||||
@ -67,4 +70,5 @@ class CyclicBlockchainError(Exception):
|
|||||||
|
|
||||||
|
|
||||||
class FulfillmentNotInValidBlock(Exception):
|
class FulfillmentNotInValidBlock(Exception):
|
||||||
"""Raised when a transaction depends on an invalid or undecided fulfillment"""
|
"""Raised when a transaction depends on an invalid or undecided
|
||||||
|
fulfillment"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user