1 | "use strict";
|
2 | var __extends = (this && this.__extends) || (function () {
|
3 | var extendStatics = function (d, b) {
|
4 | extendStatics = Object.setPrototypeOf ||
|
5 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6 | function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7 | return extendStatics(d, b);
|
8 | };
|
9 | return function (d, b) {
|
10 | if (typeof b !== "function" && b !== null)
|
11 | throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12 | extendStatics(d, b);
|
13 | function __() { this.constructor = d; }
|
14 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15 | };
|
16 | })();
|
17 | Object.defineProperty(exports, "__esModule", { value: true });
|
18 | exports.CodePushUnauthorizedError = exports.CodePushPackageError = exports.CodePushDeployStatusError = exports.CodePushHttpError = exports.CodePushError = void 0;
|
19 | var CodePushError = (function (_super) {
|
20 | __extends(CodePushError, _super);
|
21 | function CodePushError(message) {
|
22 | var _this = _super.call(this, message) || this;
|
23 | Object.setPrototypeOf(_this, CodePushError.prototype);
|
24 | return _this;
|
25 | }
|
26 | return CodePushError;
|
27 | }(Error));
|
28 | exports.CodePushError = CodePushError;
|
29 | var CodePushHttpError = (function (_super) {
|
30 | __extends(CodePushHttpError, _super);
|
31 | function CodePushHttpError(message) {
|
32 | var _this = _super.call(this, message) || this;
|
33 | Object.setPrototypeOf(_this, CodePushHttpError.prototype);
|
34 | return _this;
|
35 | }
|
36 | return CodePushHttpError;
|
37 | }(CodePushError));
|
38 | exports.CodePushHttpError = CodePushHttpError;
|
39 | var CodePushDeployStatusError = (function (_super) {
|
40 | __extends(CodePushDeployStatusError, _super);
|
41 | function CodePushDeployStatusError(message) {
|
42 | var _this = _super.call(this, message) || this;
|
43 | Object.setPrototypeOf(_this, CodePushDeployStatusError.prototype);
|
44 | return _this;
|
45 | }
|
46 | return CodePushDeployStatusError;
|
47 | }(CodePushError));
|
48 | exports.CodePushDeployStatusError = CodePushDeployStatusError;
|
49 | var CodePushPackageError = (function (_super) {
|
50 | __extends(CodePushPackageError, _super);
|
51 | function CodePushPackageError(message) {
|
52 | var _this = _super.call(this, message) || this;
|
53 | Object.setPrototypeOf(_this, CodePushPackageError.prototype);
|
54 | return _this;
|
55 | }
|
56 | return CodePushPackageError;
|
57 | }(CodePushError));
|
58 | exports.CodePushPackageError = CodePushPackageError;
|
59 | var CodePushUnauthorizedError = (function (_super) {
|
60 | __extends(CodePushUnauthorizedError, _super);
|
61 | function CodePushUnauthorizedError(message) {
|
62 | var _this = _super.call(this, message) || this;
|
63 | Object.setPrototypeOf(_this, CodePushUnauthorizedError.prototype);
|
64 | return _this;
|
65 | }
|
66 | return CodePushUnauthorizedError;
|
67 | }(CodePushError));
|
68 | exports.CodePushUnauthorizedError = CodePushUnauthorizedError;
|