polyswarmclient.exceptions
¶
Module Contents¶
-
exception
polyswarmclient.exceptions.
PolyswarmClientException
[source]¶ Bases:
Exception
polyswarm-client related errors
-
exception
polyswarmclient.exceptions.
ApiKeyException
[source]¶ Bases:
polyswarmclient.exceptions.PolyswarmClientException
Used an API key when not communicating over https, without explicitly allowing
-
exception
polyswarmclient.exceptions.
InvalidBidError
[source]¶ Bases:
polyswarmclient.exceptions.PolyswarmClientException
Fault in bid logic that resulted in a bid that is not between the min and max values provided by polyswarmd
-
exception
polyswarmclient.exceptions.
LowBalanceError
[source]¶ Bases:
polyswarmclient.exceptions.PolyswarmClientException
Not enough NCT to complete the requested action
-
exception
polyswarmclient.exceptions.
TransactionError
[source]¶ Bases:
polyswarmclient.exceptions.PolyswarmClientException
A transaction failed
-
exception
polyswarmclient.exceptions.
InvalidMetadataError
[source]¶ Bases:
polyswarmclient.exceptions.PolyswarmClientException
Metadata does not match the valid schema
-
exception
polyswarmclient.exceptions.
RateLimitedError
[source]¶ Bases:
polyswarmclient.exceptions.PolyswarmClientException
Hit the rate limit from polyswarmd
-
exception
polyswarmclient.exceptions.
NonceDesyncError
[source]¶ Bases:
polyswarmclient.exceptions.PolyswarmClientException
Got a nonce too low or too high error
-
exception
polyswarmclient.exceptions.
ReceiptError
[source]¶ Bases:
polyswarmclient.exceptions.PolyswarmClientException
Failed to get receipt from polyswarmd
-
exception
polyswarmclient.exceptions.
UnsupportedHashError
[source]¶ Bases:
polyswarmclient.exceptions.PolyswarmClientException
Raised when a hash doesn’t match the format of a hash we use
-
exception
polyswarmclient.exceptions.
ScannerSetupFailedError
[source]¶ Bases:
polyswarmclient.exceptions.PolyswarmClientException
Scanner reported an unsuccessful setup