app.get('/playground', handler);
http://localhost:9000/playground
Request URL: http://localhost:9000/playground
Request Method: GET
Status Code: 200 OK
{"message":"OK"}
http://localhost:9000/playground?error=KO
Request URL: http://localhost:9000/playground?error=KO
Request Method: GET
Status Code: 500 Internal Server Error
{"message":"KO"}
Very nice example. It saves me a lot of time