squid_py.exceptions module

Exceptions for squid-py.

exception squid_py.exceptions.OceanDIDAlreadyExist

Bases: Exception

Raised when a requested DID is already published in OceanDB.

exception squid_py.exceptions.OceanDIDNotFound

Bases: Exception

Raised when a requested DID or a DID in the chain cannot be found.

exception squid_py.exceptions.OceanDIDUnknownValueType

Bases: Exception

Raised when a requested DID or a DID in the chain cannot be found.

exception squid_py.exceptions.OceanEncryptAssetUrlsError

Bases: Exception

Error invoking the encrypt endpoint

exception squid_py.exceptions.OceanInitializeServiceAgreementError

Bases: Exception

Error on invoking purchase endpoint

exception squid_py.exceptions.OceanInvalidAgreementTemplate

Bases: Exception

Error when agreement template is not valid or not approved

exception squid_py.exceptions.OceanInvalidContractAddress

Bases: Exception

Raised when an invalid address is passed to the contract loader.

exception squid_py.exceptions.OceanInvalidMetadata

Bases: Exception

Raised when some value in the metadata is invalid.

exception squid_py.exceptions.OceanInvalidServiceAgreementSignature

Bases: Exception

Raised when the SLA signature is not valid.

exception squid_py.exceptions.OceanInvalidTransaction

Bases: Exception

Raised when an on-chain transaction fail.

exception squid_py.exceptions.OceanKeeperContractsNotFound

Bases: Exception

Raised when is not possible to find the keeper contracts abi.

exception squid_py.exceptions.OceanServiceAgreementExists

Bases: Exception

Raised when the SLA already exists.

exception squid_py.exceptions.OceanServiceConsumeError

Bases: Exception

Error invoking a purchase endpoint