# refactor\(desktop\): give the Firefox read path a tagged error · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/0e0133b6739d89e52ce440285d90699eb0e674c4)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 0e0133b6739d89e52ce440285d90699eb0e674c4

Requested commit: 0e0133b6739d89e52ce440285d90699eb0e674c4

Commit: 0e0133b6739d89e52ce440285d90699eb0e674c4

Tree: 12ad81a01a517c9b435cdd91a6c288a2a70668c8

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
refactor(desktop): give the Firefox read path a tagged error

The Firefox branch failed with an anonymous `{ reason, cause }` literal, and
typing the shared `read` value as that shape erased `ChromiumCookieReadError`'s
tag from the error channel — neither branch could then be handled with
`Effect.catchTags`.

`FirefoxCookieReadError` mirrors its Chromium counterpart, so the union stays
structurally identifiable.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

```

## Parents

- [3656866ecb43afe15a1497a422a40444890166df](https://git.cafe/pingdotgg/t3code/commit/3656866ecb43afe15a1497a422a40444890166df?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/0e0133b6739d89e52ce440285d90699eb0e674c4?format=markdown)
