def __init__()

in dell_ai/exceptions.py [0:0]


    def __init__(self, model_id, original_error=None):
        """Initialize the gated repository access error.

        Args:
            model_id: The ID of the gated repository the user tried to access.
            original_error: The original exception that caused this error, if any.
        """
        message = (
            f"Access denied: '{model_id}' is a gated repository that requires permission. "
            f"Please request access at https://huggingface.co/{model_id}"
        )
        self.model_id = model_id
        super().__init__(message, original_error)