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

Comments

3 participants
@scosenza
Contributor

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

This comment has been minimized.

Contributor

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