UNPKG

rage-framework

Version:

## How to Install *server-side* ```bash npm install @rage-framework/server ```

13 lines 634 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CannotInjectError = void 0; class CannotInjectError extends Error { constructor(target, propertyName) { super(`Cannot inject value into '${target.constructor.name}.${propertyName}'. ` + `Please make sure you setup reflect-metadata properly and you don't use interfaces without service tokens as injection value.`); this.name = 'ServiceNotFoundError'; Object.setPrototypeOf(this, CannotInjectError.prototype); } } exports.CannotInjectError = CannotInjectError; //# sourceMappingURL=CannotInjectError.js.map