node-eventstore-client
Version:
A port of the EventStore .Net ClientAPI to Node.js
10 lines (8 loc) • 314 B
JavaScript
const util = require('util');
function ProjectionCommandFailedError(httpStatusCode, message) {
Error.captureStackTrace(this, this.constructor);
this.httpStatusCode = httpStatusCode;
this.message = message;
}
util.inherits(ProjectionCommandFailedError, Error);
module.exports = ProjectionCommandFailedError;