(self, message, status_code)
Initialize the class with a custom error message.

        Args:
            message: Description of the error.
            status_code: HTTP status code.
Initialize the class with a custom error message.
Initialize the class with a custom error message .
def __init__(self, message, status_code):
        """Initialize the class with a custom error message.

        Args:
            message: Description of the error.
            status_code: HTTP status code.
        """
        super().__init__()
        self.message = message
        self.status_code = status_code
def __init__ ( self , message , status_code ) : super ( ) . __init__ ( ) self . message = message self . status_code = status_code