DS.EmbeddedAdapter Class
DS.EmbeddedAdapter extends the DS.RESTSerializer adding mixin: DS.UnderscoredAdapterMixin
Constructor
DS.EmbeddedAdapter
()
Item Index
Methods
Methods
ajaxError
(
-
jqXHR
DS.UnderscoredAdapterMixin can override the ajaxError
method
to return a DS.InvalidError for all 422 Unprocessable Entity
responses.
A 422 HTTP response from the server generally implies that the request was well formed but the API was unable to process it because the content was not semantically correct or meaningful per the API.
For more information on 422 HTTP Error code see 11.2 WebDAV RFC 4918 https://tools.ietf.org/html/rfc4918#section-11.2
Parameters:
-
jqXHR
Object
Returns:
error