diff options
Diffstat (limited to 'coverage/exceptions.py')
-rw-r--r-- | coverage/exceptions.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/coverage/exceptions.py b/coverage/exceptions.py index de2257a1..7352e9fc 100644 --- a/coverage/exceptions.py +++ b/coverage/exceptions.py @@ -14,6 +14,20 @@ class CoverageException(_BaseCoverageException): pass +class ConfigError(_BaseCoverageException): + """A problem with a config file, or a value in one.""" + pass + + +class DataError(CoverageException): + """An error in using a data file.""" + pass + +class NoDataError(CoverageException): + """We didn't have data to work with.""" + pass + + class NoSource(CoverageException): """We couldn't find the source for a module.""" pass @@ -29,6 +43,11 @@ class NotPython(CoverageException): pass +class PluginError(CoverageException): + """A plugin misbehaved.""" + pass + + class _ExceptionDuringRun(CoverageException): """An exception happened while running customer code. |