MCPcopy Create free account
hub / github.com/openclaw/gogcli / keyringTimeoutError

Function keyringTimeoutError

internal/secrets/timeout_keyring.go:48–52  ·  view source on GitHub ↗
(operation string, timeout time.Duration, hint string)

Source from the content-addressed store, hash-verified

46}
47
48func keyringTimeoutError(operation string, timeout time.Duration, hint string) error {
49 return fmt.Errorf("%w after %v while %s (%s); "+
50 "set %s to allow more time, or set GOG_KEYRING_BACKEND=file and GOG_KEYRING_PASSWORD=<password> to use encrypted file storage instead",
51 errKeyringTimeout, timeout, operation, hint, keyringOpenTimeoutEnv)
52}
53
54func IsKeyringTimeout(err error) bool {
55 if err == nil {

Callers 2

withKeyringTimeoutFunction · 0.85

Calls 1

ErrorfMethod · 0.80

Tested by

no test coverage detected