Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 597 Bytes

File metadata and controls

17 lines (13 loc) · 597 Bytes
.. module:: optuna.exceptions

optuna.exceptions

The :mod:`~optuna.exceptions` module defines Optuna-specific exceptions deriving from a base :class:`~optuna.exceptions.OptunaError` class. Of special importance for library users is the :class:`~optuna.exceptions.TrialPruned` exception to be raised if :func:`optuna.trial.Trial.should_prune` returns True for a trial that should be pruned.

.. autosummary::
   :toctree: generated/
   :nosignatures:

   OptunaError
   TrialPruned
   CLIUsageError
   StorageInternalError
   DuplicatedStudyError
   UpdateFinishedTrialError