Exceptions

A module containing all the errors raised by pytvdbapi.

pytvdbapi will only raise exceptions that are of type PytvdbapiError.

exception pytvdbapi.error.PytvdbapiError(msg, *args, **kwargs)

Base exception for all exceptions raised by pytvdbapi

exception pytvdbapi.error.BadData(msg, *args, **kwargs)

Raised if there are issues parsing the XML data provided by thetvdb.com

exception pytvdbapi.error.ConnectionError(msg, *args, **kwargs)

Raised by the Loader when unable to connect to the provided URL.

exception pytvdbapi.error.TVDBAttributeError(msg, *args, **kwargs)

A replacement for the standard AttributeError. Will be raised when accessing invalid attributes of Show and Episode instances

exception pytvdbapi.error.TVDBIndexError(msg, *args, **kwargs)

A replacement for the standard IndexError. Will be raised when accessing invalid indexes of Show and Season instances.

Previous topic

Banner

Next topic

Contact

This Page