5.4. Exceptions

exception pytablereader.ValidationError[source]

Bases: Exception

Exception raised when data is not properly formatted.

exception pytablereader.PathError[source]

Bases: Exception

Base path exception class.

exception pytablereader.InvalidFilePathError[source]

Bases: pytablereader.error.PathError

Exception raised when invalid file path used.

TODO: rename the error class

exception pytablereader.UrlError[source]

Bases: pytablereader.error.PathError

Exception raised when invalid URL used.

exception pytablereader.OpenError[source]

Bases: OSError

Exception raised when failed to open a file.

exception pytablereader.LoaderNotFoundError[source]

Bases: Exception

Exception raised when loader not found.

exception pytablereader.HTTPError(*args, **kwargs)[source]

Bases: requests.exceptions.RequestException

An HTTP error occurred.

exception pytablereader.ProxyError(*args, **kwargs)[source]

Bases: requests.exceptions.ProxyError

A proxy error occurred.