mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-09 18:16:36 +02:00
Created The returnClientError function (markdown)
7
The-returnClientError-function.md
Normal file
7
The-returnClientError-function.md
Normal file
@@ -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.
|
Reference in New Issue
Block a user