statys.utils.exception¶
Exceptions.
-
exception
statys.utils.exception.ArgumentError(error: str)¶ An ArgumentError class for logging errors related to wrong number of provided arguments.
-
__init__(self, error: str)¶ Initialization method.
- Parameters
error – Error message to be logged.
-
-
exception
statys.utils.exception.Error(cls: str, msg: str)¶ A generic Error class derived from Exception.
Essentially, it gets the class and message and logs the error to the logger.
-
__init__(self, cls: str, msg: str)¶ Initialization method.
- Parameters
cls – Class identifier.
msg – Message to be logged.
-
-
exception
statys.utils.exception.SizeError(error: str)¶ A SizeError class for logging errors related to wrong length or size of variables.
-
__init__(self, error: str)¶ Initialization method.
- Parameters
error – Error message to be logged.
-