Skip to content
docs

KeyringError

Defined in: errors.ts:2

Bad input (seed, key, label) or a keyring rule (duplicate, unknown id). Messages are safe to show the user and never contain secrets.

  • Error

new KeyringError(message, code?): KeyringError

Defined in: errors.ts:5

string

KeyringErrorCode = 'invalid-input'

KeyringError

Error.constructor

readonly code: KeyringErrorCode

Defined in: errors.ts:4

Machine-readable reason; see KeyringErrorCode.