1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-01-16 13:50:01 +01:00
1
The returnServerError function
LogMANOriginal edited this page 2018-09-15 20:53:26 +02:00

The returnServerError function aborts execution of the current bridge and returns the given error message with error code 500:

returnServerError('Your error message')

Use this function when a problem occurs that has nothing to do with the parameters provided by the user. (like: Host service gone missing, empty data received, etc...)