node-hilo
Version:
NHibernate-style hi/lo ID generator for node.js & SQL Server
13 lines (9 loc) • 341 B
JavaScript
;
var util = require( "util" );
function HiloGenerationError() {
this.message = util.format.apply( null, arguments );
this.name = "HiloGenerationError";
}
HiloGenerationError.prototype = Object.create( Error.prototype );
HiloGenerationError.prototype.constructor = HiloGenerationError;
module.exports = HiloGenerationError;