| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a8dbdbd commit a6348c7
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -79,13 +79,13 @@ Quick Start | |||
| 79 | 79 | ||
| 80 | 80 | # withdraw 100 ETH | |
| 81 | 81 | # check docs for assumptions around withdrawals | |
| 82 | - from binance.exceptions import BinanceApiException, BinanceWithdrawException | ||
| 82 | + from binance.exceptions import BinanceAPIException, BinanceWithdrawException | ||
| 83 | 83 | try: | |
| 84 | 84 | result = client.withdraw( | |
| 85 | 85 | asset='ETH', | |
| 86 | 86 | address='<eth_address>', | |
| 87 | 87 | amount=100) | |
| 88 | - except BinanceApiException as e: | ||
| 88 | + except BinanceAPIException as e: | ||
| 89 | 89 | print(e) | |
| 90 | 90 | except BinanceWithdrawException as e: | |
| 91 | 91 | print(e) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,13 +12,13 @@ Raises a `BinanceWithdrawException <binance.html#binance.exceptions.BinanceWithd | |||
| 12 | 12 | ||
| 13 | 13 | .. code:: python | |
| 14 | 14 | ||
| 15 | - from binance.exceptions import BinanceApiException, BinanceWithdrawException | ||
| 15 | + from binance.exceptions import BinanceAPIException, BinanceWithdrawException | ||
| 16 | 16 | try: | |
| 17 | 17 | result = client.withdraw( | |
| 18 | 18 | asset='ETH', | |
| 19 | 19 | address='<eth_address>', | |
| 20 | 20 | amount=100) | |
| 21 | - except BinanceApiException as e: | ||
| 21 | + except BinanceAPIException as e: | ||
| 22 | 22 | print(e) | |
| 23 | 23 | except BinanceWithdrawException as e: | |
| 24 | 24 | print(e) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments