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
class InputDataError(BotorchError):
r"""Exception raised when input data does not comply with conventions."""
pass
[docs]class UnsupportedError(BotorchError):
r"""Currently unsupported feature."""
pass