Skip to content

docs(errors): document the 13 error codes the reference was missing - #78

Merged
a-essawy merged 1 commit into
mainfrom
docs/complete-error-reference
Aug 29, 2026
Merged

docs(errors): document the 13 error codes the reference was missing#78
a-essawy merged 1 commit into
mainfrom
docs/complete-error-reference

Conversation

@a-essawy

Copy link
Copy Markdown
Contributor

The reference listed 13 of the 26 codes the API can return. Its own description said "View 13 API error codes" while the JSON-LD claimed "Every API error code".

Missing ones a caller will actually hit: QUEUE_FULL, STORAGE_QUOTA_EXCEEDED, FILE_TOO_LARGE, GONE, QUEUE_EXPIRED, and the whole INPUT_* family (INPUT_URL_BLOCKED, INPUT_FETCH_FAILED, INPUT_NOT_MEDIA, INPUT_UNSUPPORTED), plus PROCESSING_FAILED, UPSTREAM_ERROR, NOT_CONFIGURED and NOT_IMPLEMENTED.

All 26 now documented with HTTP status and recommended action, verified both directions against packages/shared/src/errors.ts.

A test in the monorepo (error-codes-documented.test.ts) now pins the code set, so adding one fails the build with the diff rather than drifting this page again.

@a-essawy
a-essawy merged commit ee75657 into main Aug 29, 2026
2 checks 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