Skip to content

Allow custom error messages #316

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jan 15, 2019
Merged

Conversation

fzf
Copy link
Contributor

@fzf fzf commented Oct 31, 2018

  • Adds ability to override key in resource to surface different error messages

Simply override error_msg_key in your resource and you can set what value to use for your error

* Adds ability to override key in resource to surface different error messages
@fzf fzf force-pushed the customize_errors branch from d8414be to 524f968 Compare November 7, 2018 04:19
@fzf
Copy link
Contributor Author

fzf commented Nov 7, 2018

@senid231 updated

@senid231
Copy link
Member

senid231 commented Nov 8, 2018

Thanks for your contribution

@senid231 senid231 merged commit aa90b0a into JsonApiClient:master Jan 15, 2019
senid231 added a commit to senid231/json_api_client that referenced this pull request Jan 15, 2019
senid231 added a commit that referenced this pull request Jan 15, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants