opytimark.utils.exception¶
Exceptions.
- exception opytimark.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 opytimark.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.