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.