Coverage exceptions

class coverage.exceptions.CoverageException

The base class of all exceptions raised by Coverage.py.

Exceptions coverage.py can raise.

exception coverage.exceptions.ConfigError

A problem with a config file, or a value in one.

exception coverage.exceptions.CoverageWarning

A warning from Coverage.py.

exception coverage.exceptions.DataError

An error in using a data file.

exception coverage.exceptions.NoCode

We couldn’t find any code at all.

exception coverage.exceptions.NoDataError

We didn’t have data to work with.

exception coverage.exceptions.NoSource

We couldn’t find the source for a module.

exception coverage.exceptions.NotPython

A source file turned out not to be parsable Python.

exception coverage.exceptions.PluginError

A plugin misbehaved.