Source code for unicorn_binance_websocket_api.exceptions

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# File: unicorn_binance_websocket_api/exception.py
#
# Part of ‘UNICORN Binance WebSocket API’
# Project website: https://www.lucit.tech/unicorn-binance-websocket-api.html
# Github: https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api
# Documentation: https://unicorn-binance-websocket-api.docs.lucit.tech
# PyPI: https://pypi.org/project/unicorn-binance-websocket-api
#
# License: LSOSL - LUCIT Synergetic Open Source License
# https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/blob/master/LICENSE
#
# Author: LUCIT Systems and Development
#
# Copyright (c) 2019-2023, LUCIT Systems and Development (https://www.lucit.tech)
# All rights reserved.

# define Python user-defined exceptions
[docs] class Socks5ProxyConnectionError(Exception): """ Exception if the manager class is not able to establish a connection to the socks5 proxy. """ pass
[docs] class StreamRecoveryError(Exception): """ Exception for non-recoverable streams. """ pass
[docs] class UnknownExchange(Exception): """ Exception if the manager class is started with an unkown exchange. """ pass