"""pyGtoP custom exceptions."""
[docs]class NoSuchLigandError(Exception):
"""The exception raised if a specific ligand is requested which does not
exist."""
pass
[docs]class NoSuchTargetError(Exception):
"""The exception raised if a specific target is requested which does not
exist."""
pass
[docs]class NoSuchTargetFamilyError(Exception):
"""The exception raised if a specific target family is requested which does not
exist."""
pass
[docs]class NoSuchInteractionError(Exception):
"""The exception raised if a specific interaction is requested which does not
exist."""
pass
[docs]class NoSuchTypeError(Exception):
"""The exception raised if a random ligand or target is requested of a type
which does not exist."""
pass