Create Custom Error Messages
definition
Description
You may wish to customize error messages if you are validating input parameters or simply want to guide the end user with a fleshed out response. To achieve this you can add a pre-process event handler with the code below.
Code
// PHP
throw new \Exception('Custom Message');
// Python
raise ValueError('Custom Message')
// NodeJS
throw "Custom Message";