Error Handling in Edge Microgateway using Node JS.

Hi,

I am new to Edge Micro gateway concept, I want to know the approach for Edge Micro gateway for error handling in Node JS specifically, I want to consolidate all the https errors like page 404,202,200,500 etc and give a gneric message. And I want to add the error handling at the gateway.

Please let me know the possible approach. If the application goes for production chances of getting errors are more and we need to handle all at a time with a generic message,

Please let me know the detail steps to provide.

Thanks,

Sai.

0 2 125
2 REPLIES 2

Hi,

Anybody throw some light on error handling concept using Node JS in EMG. I am waiting for some answers

Could you please be little in detail. What kind of errors we get. Possible scenarios I need to handle errors.we are adding EMG error handling plugin to our existing Architecture. Do we get error from other services or plugin, what kind of errors if so.

How to configure EMG and write code in node js