✨ Standardize error message prefixes to [@umpire/package] format#44
Merged
sdougbrown merged 2 commits intomainfrom Apr 14, 2026
Merged
✨ Standardize error message prefixes to [@umpire/package] format#44sdougbrown merged 2 commits intomainfrom
sdougbrown merged 2 commits intomainfrom
Conversation
- Update all error messages in @umpire/core from [umpire] to [@umpire/core] - Update all error messages in @umpire/json from [umpire/json] to [@umpire/json] - Update error messages in @umpire/reads from [reads] to [@umpire/reads] - Add [@umpire/reads] prefix to previously unprefixed circular dependency error - Add [@umpire/signals] prefix to previously unprefixed unknown field errors - Update tests to check message content without hardcoding prefix format Resolves #34 https://claude.ai/code/session_01BfgcHxYmkkBT2DUCKiMz8D
Contributor
Confidence Score: 4/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
subgraph CORE["@umpire/core"]
CE["error.ts — err()"]
CE --> F["field.ts"]
CE --> G["graph.ts"]
CE --> R["rules.ts"]
CE --> U["umpire.ts"]
end
subgraph JSON["@umpire/json"]
JE["error.ts — err()"]
JE --> B["builders.ts"]
JE --> CO["check-ops.ts"]
JE --> EX["expr.ts"]
JE --> PA["parse.ts"]
JE --> ST["strategies.ts"]
JE --> VA["validate.ts"]
end
subgraph READS["@umpire/reads"]
RE["error.ts — err()"]
RE --> RD["reads.ts"]
end
subgraph SIGS["@umpire/signals"]
SE["error.ts — err()"]
SE --> RC["reactive.ts"]
end
U -. "7 unconverted sites still use new Error directly" .-> WARN["⚠ bypass"]
style CE fill:#d4f5d4
style JE fill:#d4f5d4
style RE fill:#d4f5d4
style SE fill:#d4f5d4
style WARN fill:#fff3cd
|
5cac8ca to
94e2bea
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #34: Inconsistent error message prefixes across packages
https://claude.ai/code/session_01BfgcHxYmkkBT2DUCKiMz8D