diff --git a/skbase/_exceptions.py b/skbase/_exceptions.py index 79599ff6..7040c50d 100644 --- a/skbase/_exceptions.py +++ b/skbase/_exceptions.py @@ -21,11 +21,10 @@ def __init__(self, fixture_name="", err=None): class NotFittedError(ValueError, AttributeError): """Exception class to raise if estimator is used before fitting. - This class inherits from both ValueError and AttributeError to help with + This class inherits from both ``ValueError`` and ``AttributeError`` to help with exception handling. References ---------- - [1] scikit-learn's NotFittedError - [2] sktime's NotFittedError + .. [1] Based on scikit-learn's NotFittedError """