Skip to content

The only tool you need to know what is happening and how to fix it.

266 B
Raw Blame
//go:build telemetry_duckdb

package telemetry

import "strings"

func isTransientBackendError(err error) bool {
	message := strings.ToLower(err.Error())
	return strings.Contains(message, "out of memory") || strings.Contains(message, "could not set lock on file")
}