func IsConflict(err error) bool {
	return internal.HasPlatformErrorCode(err, internal.Conflict)
}
IsConflict checks if the given error was due to a concurrency conflict, such as a
read-modify-write conflict.

This represents an HTTP 409 Conflict status code, without additional information to distinguish
between ABORTED or ALREADY_EXISTS error conditions.
package errorutils
import (
	"net/http"
	"firebase.google.com/go/v4/internal"
)
func IsInvalidArgument(err error) bool {
	return internal.HasPlatformErrorCode(err, internal.InvalidArgument)
}
func IsFailedPrecondition(err error) bool {
	return internal.HasPlatformErrorCode(err, internal.FailedPrecondition)
}
func IsOutOfRange(err error) bool {
	return internal.HasPlatformErrorCode(err, internal.OutOfRange)
}
func IsUnauthenticated(err error) bool {
	return internal.HasPlatformErrorCode(err, internal.Unauthenticated)
}
func IsPermissionDenied(err error) bool {
	return internal.HasPlatformErrorCode(err, internal.PermissionDenied)
}
func IsNotFound(err error) bool {
	return internal.HasPlatformErrorCode(err, internal.NotFound)
}