Exceptions Module

Exceptions control.

BinPan only defines its own domain exceptions. Errors from the Binance API are raised by panzer (panzer.errors.BinanceAPIException) and propagate as-is.

Exceptions:

BinPanException([message])

BinPan exception with custom message.

RedisConfigError([message])

Exception for errors from missing data for redis.

exception BinPanException(message: str = '')[source]

Bases: Exception

BinPan exception with custom message.

Parameters:

message (str) – A message for the Exception message.

exception RedisConfigError(message: str = '')[source]

Bases: Exception

Exception for errors from missing data for redis.