Source code for deephyper.core.exceptions

"""Deephyper exceptions
"""

# ! Root exceptions


[docs]class DeephyperError(Exception): """Root deephyper exception."""
[docs]class DeephyperRuntimeError(RuntimeError): """Raised when an error is detected in deephyper and that doesn’t fall in any of the other categories. The associated value is a string indicating what precisely went wrong."""
[docs]class SearchTerminationError(RuntimeError): """Raised when a search receives SIGALARM"""