summaryrefslogtreecommitdiffstats
path: root/common/src/main/webapp/usageguide/appserver/node_modules/mongoose/lib/error/missingSchema.js
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/main/webapp/usageguide/appserver/node_modules/mongoose/lib/error/missingSchema.js')
-rw-r--r--common/src/main/webapp/usageguide/appserver/node_modules/mongoose/lib/error/missingSchema.js33
1 files changed, 0 insertions, 33 deletions
diff --git a/common/src/main/webapp/usageguide/appserver/node_modules/mongoose/lib/error/missingSchema.js b/common/src/main/webapp/usageguide/appserver/node_modules/mongoose/lib/error/missingSchema.js
deleted file mode 100644
index 25eabfa..0000000
--- a/common/src/main/webapp/usageguide/appserver/node_modules/mongoose/lib/error/missingSchema.js
+++ /dev/null
@@ -1,33 +0,0 @@
-
-/*!
- * Module dependencies.
- */
-
-var MongooseError = require('../error.js');
-
-/*!
- * MissingSchema Error constructor.
- *
- * @inherits MongooseError
- */
-
-function MissingSchemaError(name) {
- var msg = 'Schema hasn\'t been registered for model "' + name + '".\n'
- + 'Use mongoose.model(name, schema)';
- MongooseError.call(this, msg);
- Error.captureStackTrace && Error.captureStackTrace(this, arguments.callee);
- this.name = 'MissingSchemaError';
-}
-
-/*!
- * Inherits from MongooseError.
- */
-
-MissingSchemaError.prototype = Object.create(MongooseError.prototype);
-MissingSchemaError.prototype.constructor = MongooseError;
-
-/*!
- * exports
- */
-
-module.exports = MissingSchemaError;