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