L ihdZddlmZddlmZGddeZGddeZGdd eZGd d eZ Gd d eZ Gdde Z GddeZ GddeZ GddeZGddeZy)z!Exceptions coverage.py can raise.) annotations)Anyc4eZdZdZdd dfdZxZS)CoverageExceptionz7The base class of all exceptions raised by Coverage.py.N)slugc,t||||_y)zCreate an exception. Args: slug: A short string identifying the exception, will be used for linking to documentation. N)super__init__r)selfrargs __class__s Y/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/coverage/exceptions.pyr zCoverageException.__init__s $ )r rrz str | NonereturnNone)__name__ __module__ __qualname____doc__r __classcell__)r s@rrr s1A        rrceZdZdZy) ConfigErrorz0A problem with a config file, or a value in one.Nrrrrrrrrs:rrceZdZdZy) DataErrorzAn error in using a data file.Nrrrrrr$s(rrceZdZdZy) NoDataErrorz!We didn't have data to work with.Nrrrrrr*+rrceZdZdZy)NoSourcez)We couldn't find the source for a module.Nrrrrr!r!0s3rr!ceZdZdZy)NoCodez!We couldn't find any code at all.Nrrrrr#r#6rrr#ceZdZdZy) NotPythonz3A source file turned out not to be parsable Python.Nrrrrr%r%<s=rr%ceZdZdZy) PluginErrorzA plugin misbehaved.Nrrrrr'r'Bsrr'ceZdZdZy)_ExceptionDuringRunzAn exception happened while running customer code. Construct it with three arguments, the values from `sys.exc_info`. Nrrrrr)r)Hs   rr)ceZdZdZy)CoverageWarningzA warning from Coverage.py.Nrrrrr+r+Rs%rr+N)r __future__rtypingr Exceptionrrrrr!r#r%r'r)Warningr+rrrr0s(" & #  !  #     X  !  #  +  g r