Source code for skquery.exceptions

__all__ = ["EmptyBudgetError", "QueryNotFoundError", "NoAnswerError"]


[docs] class EmptyBudgetError(Exception): """ Exception to be raised when the number of queries made by an active method has reached the budget limit. """
[docs] class QueryNotFoundError(Exception): """ Exception to be raised when an active method is unable to perform further queries, e.g. when all points in the dataset have been selected for query. """
[docs] class NoAnswerError(Exception): """ Exception to be raised when the oracle doesn't answer a query, e.g. when they don't know what to answer. """