I'm working on a NodeJs project. I come across with a thought that how can I differentiate an error occur in operational process (for example: system is out of memory) from a programmer error (for example: syntax error)
Does anyone have a tip for this?
Thanks for any suggestion.