errors
OpenTriviaDB errors.
InvalidParameter
Bases: OpenTriviaError
An invalid parameter was passed to the API.
Source code in opentriviadb/errors.py
NoResults
Bases: OpenTriviaError
Exception thrown when no results can be returned from the API.
Source code in opentriviadb/errors.py
OpenTriviaError
TokenEmpty
Bases: OpenTriviaError
All possible questions have been returned while the active session token is in use, and the token should be reset.
Source code in opentriviadb/errors.py
TokenNotFound
Bases: OpenTriviaError
A session token is required for the request, but does not exist.