
This module allows one to extend Error for inheritance and type checking, without adding Error.captureStackTrace(this, this.constructor.name) to the constructor or easily get the proper name to print from console.log.
Node.js is an event-based server-side JavaScript engine.