Skip to content

Error behaviour ​

Error codes ​

CodeCLI exitMeaning
usage2Invalid arguments or an invalid profile
connection3Connection or credential failure
policy_refusal4A safety rule refused the action
operation5Filesystem or environment failure
unsupported5Unsupported store version
not_found7Unknown connection profile
conflict8The store changed since it was read
busy9The store lock was not acquired in time

Common messages ​

MessageCauseFix
a connection with this id already existsDuplicate id on createUse a new id, or update the existing profile
the connection store changed since it was readStale revisionReload and retry
the connection store is busyAnother writer holds the lockRetry
connection store is not valid JSONCorrupt store fileMove the file aside and start fresh
connection store version N is not supportedNewer store written by a newer buildUpgrade the build
operating system keyring is unavailableNo keyring backendUnlock the keyring, or use the env source
credential could not be read for this connectionMissing keyring entrySet the password again

Redaction ​

Every message passes through redact, which removes user:password@ from URL-shaped text. The desktop maps codes to fixed messages, so a raw core message never reaches the UI.

Released under the MIT License.