func IsFailedPrecondition(err error) bool {
	return internal.HasPlatformErrorCode(err, internal.FailedPrecondition)
}
IsFailedPrecondition checks if the given error was because a request could not be executed
in the current system state, such as deleting a non-empty directory.
package errorutils
import (
	"net/http"
	"firebase.google.com/go/v4/internal"
)
func IsInvalidArgument(err error) bool {
	return internal.HasPlatformErrorCode(err, internal.InvalidArgument)
}