Hi,

I have developed a Jaggery app to our training project and i needed to do a
Jaggery post and handle some error cases if the response fails. I went
through the documentation but i could not find a Post error method. So as
for a work around i checked the returned code using userInfo.xhr.status and
did the logic. I'm not sure whether its a good approach to do so. Can some
please tel me if there's a method to handle that.

For success the method is,

success(data:Object,
xhr:Object)

as per the documentation.

Regards,
Damith

-- 
Software Engineer
WSO2 Inc.; http://wso2.com
<http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
lean.enterprise.middleware

mobile: *+94728671315*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to