docs: add CLI doctor error code documentation #13
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.
Description
This PR adds documentation for the error codes generated by the Facetpack CLI doctor.
A new docs/error-codes.md file documents each existing error code (E0000–E0007), including:
What the error means
Common causes
How to fix it
The content is based on the current error-code mapping logic used in the CLI, so the documentation accurately reflects actual behavior.
Type of Change
Related Issues
Closes #10
Changes Made
Added docs/error-codes.md
Documented all existing CLI doctor error codes (E0000–E0007)
Included descriptions, causes, and fixes for each code
Testing
bun run test:all)cd examples/benchmark && bun run bench)Checklist
Screenshots (if applicable)
Not applicable only documentation is added
Additional Notes
This PR does not change any runtime or CLI logic only documentation has been added.