Module ethik.warnings
Expand source code
__all__ = ["ConstantWarning", "ConvergenceWarning"]
class ConvergenceWarning(UserWarning):
"""Custom warning to capture convergence problems."""
class ConstantWarning(UserWarning):
"""Custom warning to capture issues in user-provided features."""
Classes
class ConstantWarning (*args, **kwargs)
-
Custom warning to capture issues in user-provided features.
Expand source code
class ConstantWarning(UserWarning): """Custom warning to capture issues in user-provided features."""
Ancestors
- builtins.UserWarning
- builtins.Warning
- builtins.Exception
- builtins.BaseException
class ConvergenceWarning (*args, **kwargs)
-
Custom warning to capture convergence problems.
Expand source code
class ConvergenceWarning(UserWarning): """Custom warning to capture convergence problems."""
Ancestors
- builtins.UserWarning
- builtins.Warning
- builtins.Exception
- builtins.BaseException