UNPKG

@jems/di

Version:

An implementation of IoC pattern based on dependency injection that allows you to granulate and decouple your libraries or applications. Wrote using SOLID principles and a variety OOP patterns implementations.

27 lines (26 loc) 1.2 kB
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); var baseError_1 = require("./baseError"); /** * Represents an error triggered when the dependency metadata servicing strategy is not suported. */ var UnsupportedServicignStrategyError = /** @class */ (function (_super) { __extends(UnsupportedServicignStrategyError, _super); function UnsupportedServicignStrategyError(message) { var _this = _super.call(this, message) || this; _this.name = 'UnsupportedServicignStrategyError'; return _this; } return UnsupportedServicignStrategyError; }(baseError_1.BaseError)); exports.UnsupportedServicignStrategyError = UnsupportedServicignStrategyError;