# refactor\(desktop\): drop the redundant reason from the Firefox read error · pingdotgg/t3code

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

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

Visibility: public

Requested revision: 187b43d99ecbcc11f99fedcdc05877913202b205

Requested commit: 187b43d99ecbcc11f99fedcdc05877913202b205

Commit: 187b43d99ecbcc11f99fedcdc05877913202b205

Tree: ce16deaa2fb34aecaecae175de0b11f94f328401

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
refactor(desktop): drop the redundant reason from the Firefox read error

Firefox has one failure mode — its plaintext database would not open — so a
single-value `reason` literal encoded the same thing as the tag, and `cause`
was optional though every construction site wraps a real failure. The error now
carries the database path and a required cause, and `BrowserImport` supplies
the user-facing reason where it maps the union.

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

```

## Parents

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

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