Errors
Module stricto. export all classes
- class stricto.StrictoError(string_format: str, *args: object, **kwargs: object)
Bases:
objectStricto Error main object
- Parameters:
self – Description
string_format (str) – The string for the error Message
args (object) – arguments for the string format
kwargs (object) – arguments as kwargs for the string format
- to_string() str
Return the object as a string
- Parameters:
self – Description
- Returns:
a string
- Return type:
str
- class stricto.STypeError(message: str, *args: object, **kwargs: object)
Bases:
TypeError,StrictoErrorExtented
StrictoErrorwithTypeError
- class stricto.SAttributeError(message: str, *args: object, **kwargs: object)
Bases:
AttributeError,StrictoErrorExtented
StrictoErrorwithAttributeError
- class stricto.SKeyError(message: str, *args: object, **kwargs: object)
Bases:
KeyError,StrictoErrorExtented
StrictoErrorwithKeyError
- class stricto.SSyntaxError(message: str, *args: object, **kwargs: object)
Bases:
SyntaxError,StrictoErrorExtented
StrictoErrorwithSyntaxError
- class stricto.SConstraintError(message: str, *args: object, **kwargs: object)
Bases:
Exception,StrictoErrorExtented
StrictoErrorwithExceptionThis class is dedicated to constraints.
- class stricto.SRightError(message: str, *args: object, **kwargs: object)
Bases:
Exception,StrictoErrorExtented
StrictoErrorwithExceptionThis class is dedicated to right management.
- class stricto.SError(exception: Exception, *args: object, **kwargs: object)
Bases:
Exception,StrictoErrorExtented
StrictoErrorwithExceptionThis class is dedicated to all other encapsulated errors.