MCPcopy Create free account
hub / github.com/OpenKeyring/oak-keyring / vault_error

Function vault_error

src/executor/record.rs:24–31  ·  view source on GitHub ↗

Helper: build a standard error CommandResult from a VaultError.

(e: crate::errors::mapping::vault::VaultError, msg: &str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

handle_create_recordFunction · 0.85
handle_update_recordFunction · 0.85
handle_restore_recordFunction · 0.85
handle_toggle_favoriteFunction · 0.85
handle_decrypt_fieldFunction · 0.85
handle_load_tagsFunction · 0.85

Calls 2

to_error_codeMethod · 0.45
to_error_contextMethod · 0.45

Tested by

no test coverage detected