[docs]classSIO3PackException(Exception):""" A base class for all custom exceptions raised by SIO3Pack. :param str message: A short description of the error. :param str full_message: A detailed description of the error, if available. """def__init__(self,message:str,full_message:str=None):""" Initialize the SIO3PackException. :param str message: A short description of the error. :param str full_message: A detailed description of the error, if available. """super().__init__(message)self.message=messageself._full_message=full_messagedef_generate_full_message(self):""" Generate a full message for the exception if not provided. """returnNone@propertydeffull_message(self):ifself._full_messageisNone:returnself._generate_full_message()returnself._full_message