Add ProjectionsManager
This commit is contained in:
10
src/errors/projectionCommandFailedError.js
Normal file
10
src/errors/projectionCommandFailedError.js
Normal file
@ -0,0 +1,10 @@
|
||||
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;
|
Reference in New Issue
Block a user