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