http-error-lib About Node module to throw custom Error. Installation npm install http-error-lib Exampleß const { NotFound } = require("http-error-lib"); ... throw new NotFound(); Methods BadRequest Unauthorized Forbidden NotFound Conflict FailedDependency InternalServerError