mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-15 04:31:16 +03:00
Created The returnClientError function (markdown)
parent
436e68e2a0
commit
7e32d68cfd
1 changed files with 7 additions and 0 deletions
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.
|
Loading…
Add table
Reference in a new issue