strict-errors This module provides a simple framework for defining your own errors. Error that you define can double as a documentation. Installation npm install --save strict-errors Usage See example and tests.