extractErrors (store, typeClass, payload, id) Object
Defined in addon/serializers/json.js:1322
extractErrors is used to extract model errors when a call to DS.Model#save fails with an InvalidError. By default Ember Data expects error information to be located on the errors property of the payload object. This serializer expects this errors object to be an Array similar to the following, compliant with the JSON-API specification: {
"errors": [
{
"detail": "This username is alread