1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-07 00:56:34 +02:00

Created The returnClientError function (markdown)

LogMANOriginal
2018-09-15 20:52:41 +02:00
parent 436e68e2a0
commit 7e32d68cfd

@@ -0,0 +1,7 @@
The `returnClientError` function aborts execution of the current bridge and returns the given error message with error code **400**:
```PHP
returnClientError('Your error message')
```
Use this function when the user provided invalid parameter or a required parameter is missing.