def METHOD_NAME(self, msal_result: Dict) -> Optional[HttpResponse]:
    """Get the HTTP response associated with an MSAL error.
    :param msal_result: The result of an MSAL request.
    :type msal_result: dict
    :return: The HTTP response associated with the error, if any.
    :rtype: ~azure.core.pipeline.transport.HttpResponse or None
    """
    error_code, response = getattr(self._local, "error", (None, None))
    if response and error_code == msal_result.get("error"):
        return response
    return None