1 The returnError function
LogMANOriginal edited this page 2018-09-15 20:51:43 +02:00

Notice: Whenever possible make use of returnClientError or returnServerError

The returnError function aborts execution of the current bridge and returns the given error message with the provided error number:

returnError('Your error message', 404);

Check the list of error codes for applicable error numbers.