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

Improve error message when @Header field is missing #263

Closed
scosenza opened this issue Oct 12, 2015 · 1 comment
Closed

Improve error message when @Header field is missing #263

scosenza opened this issue Oct 12, 2015 · 1 comment
Labels

Comments

@scosenza
Copy link
Contributor

@scosenza scosenza commented Oct 12, 2015

For the following custom request:

case class MyRequest(
  @Header api_key: String)

When the api_key header is missing, the existing error message is:

  • "api_key: field is required"

But we should improve the error message to be:

  • "api_key: header is required"
@syamantm
Copy link
Contributor

@syamantm syamantm commented Nov 10, 2015

this can be closed now that #267 has been merged

@cacoco cacoco closed this Feb 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants