Force Server Code To Return An Error


I have an if/then statement in my server code. I would like the code to return an error upon a condition (such as a 400 error). This would help launch the Error set of events in the app.

How may I do this?

1 person has
this question
This topic is no longer open for comments or replies.