Source code for src.exceptions

"""
Exceptions that might be raised by core or check code.
"""


[docs] class CoreGoesBoomError(Exception): """ Raised if core code encounters an unrecoverable error (uncaught). """
""" Exceptions that might be raised by check code and must be caught by core code. """
[docs] class CheckGoesBoomError(Exception): """ Raise this exception if your check exploded. (at runtime) """
[docs] class CheckConstructionError(Exception): """ Raise this exception if your check's constructor encountered some fatal error. """
[docs] class CheckNotApplicableError(Exception): """ Raise this exception if your check comes to the conclusion that it cannot produce a reasonable result for the griven project. (at runtime) """