Exceptions
¶
YFPY module for throwing custom exceptions.
Attributes: |
|
---|
Classes:
Name | Description |
---|---|
YahooFantasySportsException |
Base YFPY exception class for Yahoo Fantasy Sports API exceptions. |
YahooFantasySportsDataNotFound |
YFPY exception when no data was retrieved from the Yahoo Fantasy Sports REST API. |
YahooFantasySportsException ¶
Bases: Exception
Base YFPY exception class for Yahoo Fantasy Sports API exceptions.
Methods:
Name | Description |
---|---|
__init__ |
Instantiate YFPY exception. |
Source code in yfpy/exceptions.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
|
__init__ ¶
__init__(message, payload=None, url=None)
Instantiate YFPY exception.
Parameters: |
|
---|
Attributes: |
|
---|
Source code in yfpy/exceptions.py
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
|
YahooFantasySportsDataNotFound ¶
Bases: YahooFantasySportsException
YFPY exception when no data was retrieved from the Yahoo Fantasy Sports REST API.
Source code in yfpy/exceptions.py
41 42 |
|