Skip to content

Commit

Permalink
[DOC beta] Fix error message internal docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Radchenko committed Mar 1, 2016
1 parent 656d46a commit 111260a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions addon/adapters/rest.js
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ export default Adapter.extend(BuildURLMixin, {
@param {Number} status
@param {Object} headers
@param {Object} payload
@return {Object} errors payload
@return {Array} errors payload
*/
normalizeErrorResponse(status, headers, payload) {
if (payload && typeof payload === 'object' && payload.errors) {
Expand All @@ -971,7 +971,8 @@ export default Adapter.extend(BuildURLMixin, {
@param {Number} status
@param {Object} headers
@param {Object} payload
@return {Object} request information
@param {Object} requestData
@return {String} detailed error message
*/
generatedDetailedMessage: function(status, headers, payload, requestData) {
var shortenedPayload;
Expand Down

0 comments on commit 111260a

Please sign in to comment.