Skip to content

Exceptions

cyhole.solscan.v2.exception

SolscanException

SolscanException(description)

Bases: CyholeException

General Exception for Solscan API.

Source code in src/cyhole/core/exception.py
8
9
def __init__(self, description):
    self.description = description

SolscanInvalidAmountRange

SolscanInvalidAmountRange(description)

Bases: SolscanException

Exception raised when the amount range is invalid.

Source code in src/cyhole/core/exception.py
8
9
def __init__(self, description):
    self.description = description

SolscanInvalidTimeRange

SolscanInvalidTimeRange(description)

Bases: SolscanException

Exception raised when the time range is invalid.

Source code in src/cyhole/core/exception.py
8
9
def __init__(self, description):
    self.description = description