mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-12-09 09:43:15 +01: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.