[docs]classExceptionTuoniAuthentication(Exception):""" Exception class raised for authentication-related issues. """def__init__(self,message=None):""" Constructor for the authentication exception. Args: message (str): The error message describing the authentication issue. """self.message=messagesuper().__init__(message)
[docs]classExceptionTuoniRequestFailed(Exception):""" Exception class raised when an HTTP request fails. """def__init__(self,message=None):""" Constructor for the HTTP request failure exception. Args: message (str): The error message describing the reason for the failed HTTP request. """self.message=messagesuper().__init__(message)
[docs]classExceptionTuoniDeleted(Exception):""" Exception class raised when attempting to interact with a deleted resource. """def__init__(self,message=None):""" Constructor for the deleted resource exception. Args: message (str): The error message describing the interaction attempt with the deleted resource. """self.message=messagesuper().__init__(message)