yfpy.exceptions.YahooFantasySportsException

exception YahooFantasySportsException(message, payload=None, url=None)[source]

Base YFPY exception class for Yahoo Fantasy Sports API exceptions.

Instantiate YFPY exception.

Parameters
  • message (str) – Human readable string describing the exception.

  • payload (str, optional) – The API exception error payload.

  • url (str, optional) – Yahoo Fantasy Sports REST API URL.

message

Human readable string describing the exception.

Type

str

payload

The API exception error payload.

Type

str

url

Yahoo Fantasy Sports REST API URL.

Type

str