1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-02 22:57:26 +02:00
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.