Coverage exceptions — Coverage.py 7.8.0 documentation (original) (raw)
Exceptions coverage.py can raise.
exception coverage.exceptions.CoverageException
The base class of all exceptions raised by Coverage.py.
exception coverage.exceptions.ConfigError
A problem with a config file, or a value in one.
exception coverage.exceptions.DataError
An error in using a data file.
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.NoCode
We couldn’t find any code at all.
exception coverage.exceptions.NotPython
A source file turned out not to be parsable Python.
exception coverage.exceptions.PluginError
A plugin misbehaved.
exception coverage.exceptions.CoverageWarning
A warning from Coverage.py.