MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / toStorageError

Function toStorageError

packages/plugins/keychain/src/provider.ts:32–36  ·  view source on GitHub ↗
(cause: KeychainError)

Source from the content-addressed store, hash-verified

30// ---------------------------------------------------------------------------
31
32const toStorageError = (cause: KeychainError) => {
33 const { cause: underlyingCause } = cause;
34 // oxlint-disable-next-line executor/no-unknown-error-message -- boundary: typed KeychainError message becomes StorageError message
35 return new StorageError({ message: cause.message, cause: underlyingCause ?? cause });
36};
37
38const KEYCHAIN_PROVIDER_KEY = ProviderKey.make("keychain");
39

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected