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

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

this can be closed now that #267 has been merged

@cacoco cacoco closed this as completed Feb 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants