code: def test_raise_botorch_exceptions(self):
      for ErrorClass in (
          BotorchError,
          BotorchTensorDimensionError,
          CandidateGenerationError,
          InputDataError,
          UnsupportedError,
      ):
          with self.assertRaises(ErrorClass):
              raise ErrorClass("message")
  
file_path: botorch/test/exceptions/test_errors.py
imports: import numpy
  from botorch.exceptions.errors import BotorchError, BotorchTensorDimensionError, CandidateGenerationError, DeprecationError, InputDataError, OptimizationTimeoutError, UnsupportedError
  from botorch.utils.testing import BotorchTestCase
label_desc: Use image node_id 2 for calling the TestBotorchExceptions obj's underlying member method code with example usage: obj.test_raise_botorch_exceptions() without return types