From 7e32d68cfd86758c7eed9c82cebf96d2f41d353c Mon Sep 17 00:00:00 2001 From: LogMANOriginal Date: Sat, 15 Sep 2018 20:52:41 +0200 Subject: [PATCH] Created The returnClientError function (markdown) --- The-returnClientError-function.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 The-returnClientError-function.md diff --git a/The-returnClientError-function.md b/The-returnClientError-function.md new file mode 100644 index 0000000..e63cc61 --- /dev/null +++ b/The-returnClientError-function.md @@ -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. \ No newline at end of file