palantir / palantir/conjure-java-runtime-api
Define common server error codes in ErrorType.Code
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 6
- Forks
- 33
- Avg merge
- 15h 50m
- Merged PRs (30d)
- 12
Description
The ErrorType.Code enum is overly restrictive. We only have access to 500 for server errors:
FAILED_PRECONDITION(500),
INTERNAL(500),
TIMEOUT(500),
CUSTOM_SERVER(500);
At a bare minimum, it would be useful to define 501-504.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the ErrorType.Code enum and reviewing how its numeric server-error values are exposed. Define common server error codes 501 through 504 alongside the existing 500 values, then verify that the project’s existing checks for ErrorType.Code still pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 39/100