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.

25 lines (24 loc) 1 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 that occurs when something goes wrong serving a reference. */ var ServicingError = /** @class */ (function (_super) { __extends(ServicingError, _super); function ServicingError() { return _super !== null && _super.apply(this, arguments) || this; } return ServicingError; }(baseError_1.BaseError)); exports.ServicingError = ServicingError;