ain.errors module

exception ain.errors.BlockchainError(code: int, message: str)

Bases: Exception

Class for the custom error of the blockchain API result.

code: int

The code of an error.

message: str

The message of an error.