Source code for botorch.exceptions.errors

#!/usr/bin/env python3

# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved

r"""
Botorch Errors.
"""


[docs]class BotorchError(Exception): r"""Base botorch exception.""" pass
[docs]class CandidateGenerationError(BotorchError): r"""Exception raised during generating candidates.""" pass
[docs]class UnsupportedError(BotorchError): r"""Currently unsupported feature.""" pass