I would like to know what are the functions that the Error object of nodejs express exposes for use in error handling?
A console.log of an error call new Error('NotFound') is showing only [Error: NotFound].
Is this because the .toString() method is overriden?
How do I find the properties and functions exposed by these objects?
 
     
    