Skip to content

Use schema-backed domain errors#3

Merged
kitlangton merged 1 commit into
mainfrom
stack/schema-tagged-errors
May 11, 2026
Merged

Use schema-backed domain errors#3
kitlangton merged 1 commit into
mainfrom
stack/schema-tagged-errors

Conversation

@kitlangton
Copy link
Copy Markdown
Owner

@kitlangton kitlangton commented May 11, 2026

Summary

  • Convert core domain errors to Schema.TaggedErrorClass while preserving positional constructors and messages.
  • Keep existing _tag matching behavior with schema-backed structured fields.

Verification

  • bun run typecheck
  • bun run test
  • bun src/cli.ts --help
  • bun src/cli.ts sync --help
  • bun src/cli.ts merge --help

Stack

  1. Make replay cleanup interruption-safe #1
  2. Use Effect clock for stack timestamps #2
  3. Use schema-backed domain errors #3 👈 current
  4. Tighten typed error channels #4
  5. Configure GitHub polling and concurrency #5

@kitlangton kitlangton force-pushed the stack/effect-clock-time branch from af3c62a to e7ea54f Compare May 11, 2026 17:56
@kitlangton kitlangton force-pushed the stack/schema-tagged-errors branch from 9ed684a to b2b5eec Compare May 11, 2026 17:56
@kitlangton kitlangton changed the base branch from stack/effect-clock-time to main May 11, 2026 18:01
@kitlangton kitlangton force-pushed the stack/schema-tagged-errors branch from b2b5eec to 8467ca6 Compare May 11, 2026 18:01
@kitlangton kitlangton merged commit 92fe3bd into main May 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant