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

Status code in "throws" block variant #22

Closed
SerVB opened this issue Mar 26, 2020 · 1 comment
Closed

Status code in "throws" block variant #22

SerVB opened this issue Mar 26, 2020 · 1 comment

Comments

@SerVB
Copy link
Contributor

SerVB commented Mar 26, 2020

Hi! I have the following code:

image

As you see, status code is duplicated. So I don't understand which has a higher priority...

Can I omit this duplication?

@Wicpar
Copy link
Collaborator

Wicpar commented Mar 27, 2020

@Response is only used with the response get<Param, Response> {} of the request, not the exception.

@SerVB SerVB closed this as completed Mar 27, 2020
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

No branches or pull requests

2 participants