araskin3i
Posts: 0
Joined: Fri Dec 20, 2013 2:44 pm

Returning error from Server side code

I noticed in the examples provided in http://docs.appery.io/documentation/b...

that even if we wanted to return an error in a server side script we use response.success. Is that right? Isn't there a response.error that we could use? I want to make sure that the onError events on the client are triggered....

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Returning error from Server side code

Hello! If you need error with some code (400-404, 500) - use response.error http://docs.appery.io/documentation/b...

araskin3i
Posts: 0
Joined: Fri Dec 20, 2013 2:44 pm

Returning error from Server side code

Thank you.

Return to “Issues”