--given the following CQL used within a saved query:
RAISERROR('Invalid parameter: @Int cannot be NULL or zero',18,0)
IF (ISNULL(@String,'') = '' OR ISNULL(@String,'') = 'X')
RAISERROR('Invalid parameter: @String cannot be NULL or empty or X',18,0)
--note "X-Cinchy-Error" in the sample response:
< HTTP/1.1 400 Bad Request
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/10.0
< X-AspNetMvc-Version: 5.2
< Access-Control-Allow-Origin: *
< X-Cinchy-Error: Invalid parameter: @Int cannot be NULL or zero
< X-AspNet-Version: 4.0.30319
< Date: Wed, 1 Aug 2020 17:43:04 GMT