Errors

exception aiosend.exceptions.APIError(method, error)

Bases: CryptoPayError

Exception for API errors.

exception aiosend.exceptions.APITimeoutError(method, timeout)

Bases: CryptoPayError

Exception raised when the API request times out.

exception aiosend.exceptions.CryptoPayError

Bases: Exception

Base class for exceptions in this module.

exception aiosend.exceptions.DeserializationError(method, message)

Bases: CryptoPayError

Exception for deserialization errors.

exception aiosend.exceptions.HTTPError(method, status_code, content)

Bases: CryptoPayError

Exception raised for unexpected HTTP responses.

exception aiosend.exceptions.MethodValuesError(message)

Bases: CryptoPayError

Exception raised when method values are invalid.

exception aiosend.exceptions.SuspendedError

Bases: CryptoPayError

Exception raised when the Crypto pay app is suspended.

exception aiosend.exceptions.WrongNetworkError(message)

Bases: CryptoPayError

Exception raised when the token is served by different network.