def __init__(
        self,
        message: Optional[str] = "User does not have the right to perform this action",
    ):
        """Create a new PermissionException instance.

        Args:
        ----
            message (str, optional): The error message. Has default message.

        """
        self.message = message
        super().__init__(self.message)
Create a new PermissionException instance.

        Args:
        ----
            message (str, optional): The error message. Has default message.

        
backend/airweave/core/exceptions.py