Skip to content

Commit

Permalink
Merge pull request #3965 from brianstorti/bs-improve-error-docs
Browse files Browse the repository at this point in the history
[Doc] Specify the status code expected to populate the error object
  • Loading branch information
bmac committed Dec 4, 2015
2 parents eaa3652 + 362b027 commit a2290f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon/system/model/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ var MapWithDefault = Ember.MapWithDefault;
user.save();
```
Your backend data store might return a response that looks like
this. This response will be used to populate the error object.
Your backend data store might return a response with status code 422 (Unprocessable Entity)
and that looks like this. This response will be used to populate the error object.
```javascript
{
Expand Down

0 comments on commit a2290f9

Please sign in to comment.