Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove downstream error from predefined error types #6

Merged
merged 3 commits into from
Jun 17, 2024

Conversation

pdoerner
Copy link
Contributor

@pdoerner pdoerner commented Jun 17, 2024

Removing DOWNSTREAM_ERROR from the list of predefined handler error types
Changed DOWNSTREAM_TIMEOUT to 520

SPEC.md Outdated
@@ -262,7 +262,6 @@ following predefined error codes.
| `INTERNAL` | 500 | An internal error occured. |
| `NOT_IMPLEMENTED` | 501 | The server either does not recognize the request method, or it lacks the ability to fulfill the request. |
| `UNAVAILABLE` | 503 | The service is currently unavailable. |
| `DOWNSTREAM_ERROR` | 520 | Used by gateways to report that a downstream server has responded with an error. |
| `DOWNSTREAM_TIMEOUT` | 521 | Used by gateways to report that a request to a downstream server has timed out. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use 520 for the timeout then.

SPEC.md Outdated Show resolved Hide resolved
@bergundy bergundy merged commit 9fb1eaa into nexus-rpc:main Jun 17, 2024
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.

2 participants