UNPKG

jspm-config

Version:
30 lines 1.11 kB
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var make_error_cause_1 = require("make-error-cause"); /** * This error signifies there are issue with the jspm configuration. */ var ConfigError = (function (_super) { __extends(ConfigError, _super); function ConfigError() { return _super !== null && _super.apply(this, arguments) || this; } return ConfigError; }(make_error_cause_1.BaseError)); exports.ConfigError = ConfigError; /** * This error signifies the module requested is not found. */ var ModuleNotFoundError = (function (_super) { __extends(ModuleNotFoundError, _super); function ModuleNotFoundError(moduleName) { return _super.call(this, moduleName + " not found") || this; } return ModuleNotFoundError; }(make_error_cause_1.BaseError)); exports.ModuleNotFoundError = ModuleNotFoundError; //# sourceMappingURL=error.js.map