Module diskchef.engine.exceptions
Classes
class CHEFError (*args, **kwargs)
-
Expand source code
class CHEFError(Exception): """Base class for diskchef exceptions"""
Base class for diskchef exceptions
Ancestors
- builtins.Exception
- builtins.BaseException
Subclasses
class CHEFNotImplementedError (*args, **kwargs)
-
Expand source code
class CHEFNotImplementedError(CHEFError, NotImplementedError): """Exception raised by base classes methods which only define interface for child classes"""
Exception raised by base classes methods which only define interface for child classes
Ancestors
- CHEFError
- builtins.NotImplementedError
- builtins.RuntimeError
- builtins.Exception
- builtins.BaseException
class CHEFRuntimeError (*args, **kwargs)
-
Expand source code
class CHEFRuntimeError(CHEFError, RuntimeError): """Exception raised in other cases"""
Exception raised in other cases
Ancestors
- CHEFError
- builtins.RuntimeError
- builtins.Exception
- builtins.BaseException
class CHEFSlowDownWarning (*args, **kwargs)
-
Expand source code
class CHEFSlowDownWarning(CHEFWarning, ResourceWarning): """Warning issued by pieces of code which are known to be slow, if a possible alternative exists"""
Warning issued by pieces of code which are known to be slow, if a possible alternative exists
Ancestors
- CHEFWarning
- builtins.UserWarning
- builtins.ResourceWarning
- builtins.Warning
- builtins.Exception
- builtins.BaseException
class CHEFTypeError (*args, **kwargs)
-
Expand source code
class CHEFTypeError(CHEFError, TypeError): """Exception raised when the type of argument is wrong"""
Exception raised when the type of argument is wrong
Ancestors
- CHEFError
- builtins.TypeError
- builtins.Exception
- builtins.BaseException
class CHEFValueError (*args, **kwargs)
-
Expand source code
class CHEFValueError(CHEFError, ValueError): """Exception raised when the value of argument to the function is wrong"""
Exception raised when the value of argument to the function is wrong
Ancestors
- CHEFError
- builtins.ValueError
- builtins.Exception
- builtins.BaseException
class CHEFValueWarning (*args, **kwargs)
-
Expand source code
class CHEFValueWarning(CHEFWarning): """Warning issued when the values are not properly set, but it is not critical"""
Warning issued when the values are not properly set, but it is not critical
Ancestors
- CHEFWarning
- builtins.UserWarning
- builtins.Warning
- builtins.Exception
- builtins.BaseException
class CHEFWarning (*args, **kwargs)
-
Expand source code
class CHEFWarning(UserWarning): """Base class for diskchef warningns"""
Base class for diskchef warningns
Ancestors
- builtins.UserWarning
- builtins.Warning
- builtins.Exception
- builtins.BaseException
Subclasses
class RADMCWarning (*args, **kwargs)
-
Expand source code
class RADMCWarning(CHEFWarning): """Base class for radmc warningns"""
Base class for radmc warningns
Ancestors
- CHEFWarning
- builtins.UserWarning
- builtins.Warning
- builtins.Exception
- builtins.BaseException