"""Custom exceptions and warnings."""##### Warnings #####
[docs]classUnusedObjectWarning(UserWarning):""" A method or function was called with undesired arguments which indicates an unintended user fault. """
##### Exceptions #####
[docs]classNotEnoughPointsLeftError(Exception):""" More recommendations are requested than there are viable parameter configurations left in the search space. """
[docs]classNoMCAcquisitionFunctionError(Exception):""" A Monte Carlo acquisition function is required but an analytical acquisition function has been selected by the user. """
[docs]classIncompatibleSearchSpaceError(Exception):""" A recommender is used with a search space that contains incompatible parts, e.g. a discrete recommender is used with a hybrid or continuous search space. """
[docs]classEmptySearchSpaceError(Exception):"""The created search space contains no parameters."""
[docs]classNothingToSimulateError(Exception):"""There is nothing to simulate because there are no testable configurations."""
[docs]classNoRecommendersLeftError(Exception):"""A recommender is requested by a meta recommender but there are no recommenders left. """
[docs]classNumericalUnderflowError(Exception):"""A computation would lead to numerical underflow."""
[docs]classOptionalImportError(Exception):"""An attempt was made to import an optional but uninstalled dependency."""
[docs]classDeprecationError(Exception):"""Signals the use of a deprecated mechanism to the user, interrupting execution."""
[docs]classUnidentifiedSubclassError(Exception):"""A specified subclass cannot be found in the given class hierarchy."""
[docs]classUnmatchedAttributeError(Exception):"""An attribute cannot be matched against a certain callable signature."""