"""Custom Errors and Exceptions for TIAToolbox."""from__future__importannotations
[docs]classFileNotSupportedError(Exception):"""Raise No supported file found error. Args: message (str) : Display message for the error. """def__init__(self:FileNotSupportedError,message:str="File format is not supported",)->None:"""Initialize :class:`FileNotSupportedError`."""super().__init__(message)
[docs]classMethodNotSupportedError(Exception):"""Raise No supported file found error. Args: message (str) : Display message for the error. """def__init__(self:MethodNotSupportedError,message:str="Method is not supported",)->None:"""Initialize :class:`MethodNotSupportedError`."""super().__init__(message)