Class extended from javascript Error with support for stack trace
npm install base-error
Base Error ============ You are able simpler extend standard Error class. Your new object will be contain stack from original Error object and message.