A simple custom error generator for node.js