def METHOD_NAME():
    """
    Utility method to create a UserNotificationPolicyLogRecord with error
    """
    UserNotificationPolicyLogRecord.objects.create(
        author=user,
        type=UserNotificationPolicyLogRecord.TYPE_PERSONAL_NOTIFICATION_FAILED,
        notification_policy=notification_policy,
        alert_group=alert_group,
        reason="Mobile push notification error",
        notification_step=notification_policy.step,
        notification_channel=notification_policy.notify_by,
    )