I am using following simple code to retrieve user from server.
var someUser = this.store.findRecord('user', 0);
I am using this for retrieving the user. if user is not found on 0 id,
server returns 404. and error as per json api.
but how do i know about error on client side about it ?
Aucun commentaire:
Enregistrer un commentaire