func IsAlreadyDeleted(err error) bool {
	return errorutils.IsConflict(err)
}
IsAlreadyDeleted checks if the given error was due to the instance ID being already deleted from
the project.

Deprecated. Use errorutils.IsConflict() function instead.
package iid
import (
	"context"
	"errors"
	"fmt"
	"net/http"
	"strings"
	"firebase.google.com/go/v4/errorutils"
	"firebase.google.com/go/v4/internal"
)
const iidEndpoint = "https://console.firebase.google.com/v1"
var errorMessages = map[int]string{
	http.StatusBadRequest:          "malformed instance id argument",
	http.StatusUnauthorized:        "request not authorized",
	http.StatusForbidden:           "project does not match instance ID or the client does not have sufficient privileges",
	http.StatusNotFound:            "failed to find the instance id",
	http.StatusConflict:            "already deleted",
	http.StatusTooManyRequests:     "request throttled out by the backend server",
	http.StatusInternalServerError: "internal server error",
	http.StatusServiceUnavailable:  "backend servers are over capacity",
}
func IsInvalidArgument(err error) bool {
	return errorutils.IsInvalidArgument(err)
}
func IsInsufficientPermission(err error) bool {
	return errorutils.IsUnauthenticated(err) || errorutils.IsPermissionDenied(err)
}
func IsNotFound(err error) bool {
	return errorutils.IsNotFound(err)
}