[Node.js] Prettify the details of the errors