NFL Errors¶
errors
¶
GriddyNFLError
dataclass
¶
Bases: SDKError
The base class for all NFL SDK HTTP error responses.
Source code in src/griddy/nfl/errors/griddynflerror.py
GriddyNFLDefaultError
dataclass
¶
Bases: GriddyNFLError
The fallback error class if no more specific error class is matched.
Source code in src/griddy/nfl/errors/griddynfldefaulterror.py
NoResponseError
dataclass
¶
Bases: GriddyError
Error raised when no HTTP response is received from the server.
Inherits from GriddyError so that catching GriddyError will also catch no-response errors.
Source code in src/griddy/core/errors/no_response_error.py
ResponseValidationError
dataclass
¶
Bases: GriddyNFLError
Error raised when there is a type mismatch between the response data and the expected Pydantic model.