UNPKG

1.73 kBJavaScriptView Raw
1"use strict";
2var __extends = (this && this.__extends) || (function () {
3 var extendStatics = Object.setPrototypeOf ||
4 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5 function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6 return function (d, b) {
7 extendStatics(d, b);
8 function __() { this.constructor = d; }
9 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
10 };
11})();
12Object.defineProperty(exports, "__esModule", { value: true });
13var SecurityError = /** @class */ (function (_super) {
14 __extends(SecurityError, _super);
15 function SecurityError() {
16 return _super !== null && _super.apply(this, arguments) || this;
17 }
18 return SecurityError;
19}(Error));
20exports.SecurityError = SecurityError;
21var InvalidStateError = /** @class */ (function (_super) {
22 __extends(InvalidStateError, _super);
23 function InvalidStateError() {
24 return _super !== null && _super.apply(this, arguments) || this;
25 }
26 return InvalidStateError;
27}(Error));
28exports.InvalidStateError = InvalidStateError;
29var NetworkError = /** @class */ (function (_super) {
30 __extends(NetworkError, _super);
31 function NetworkError() {
32 return _super !== null && _super.apply(this, arguments) || this;
33 }
34 return NetworkError;
35}(Error));
36exports.NetworkError = NetworkError;
37var SyntaxError = /** @class */ (function (_super) {
38 __extends(SyntaxError, _super);
39 function SyntaxError() {
40 return _super !== null && _super.apply(this, arguments) || this;
41 }
42 return SyntaxError;
43}(Error));
44exports.SyntaxError = SyntaxError;
45//# sourceMappingURL=errors.js.map
\No newline at end of file