(cause: KeychainError)
| 30 | // --------------------------------------------------------------------------- |
| 31 | |
| 32 | const 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 | |
| 38 | const KEYCHAIN_PROVIDER_KEY = ProviderKey.make("keychain"); |
| 39 |
nothing calls this directly
no outgoing calls
no test coverage detected