UNPKG

3.46 kBJavaScriptView Raw
1"use strict";
2/*
3 * Copyright 2017-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
6 * the License. A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0/
9 *
10 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
11 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
12 * and limitations under the License.
13 */
14var __extends = (this && this.__extends) || (function () {
15 var extendStatics = function (d, b) {
16 extendStatics = Object.setPrototypeOf ||
17 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
18 function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
19 return extendStatics(d, b);
20 };
21 return function (d, b) {
22 extendStatics(d, b);
23 function __() { this.constructor = d; }
24 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
25 };
26})();
27Object.defineProperty(exports, "__esModule", { value: true });
28var XRError = /** @class */ (function (_super) {
29 __extends(XRError, _super);
30 function XRError() {
31 return _super !== null && _super.apply(this, arguments) || this;
32 }
33 return XRError;
34}(Error));
35exports.XRError = XRError;
36var XRNoSceneConfiguredError = /** @class */ (function (_super) {
37 __extends(XRNoSceneConfiguredError, _super);
38 function XRNoSceneConfiguredError() {
39 return _super !== null && _super.apply(this, arguments) || this;
40 }
41 return XRNoSceneConfiguredError;
42}(XRError));
43exports.XRNoSceneConfiguredError = XRNoSceneConfiguredError;
44var XRSceneNotFoundError = /** @class */ (function (_super) {
45 __extends(XRSceneNotFoundError, _super);
46 function XRSceneNotFoundError() {
47 return _super !== null && _super.apply(this, arguments) || this;
48 }
49 return XRSceneNotFoundError;
50}(XRError));
51exports.XRSceneNotFoundError = XRSceneNotFoundError;
52var XRSceneNotLoadedError = /** @class */ (function (_super) {
53 __extends(XRSceneNotLoadedError, _super);
54 function XRSceneNotLoadedError() {
55 return _super !== null && _super.apply(this, arguments) || this;
56 }
57 return XRSceneNotLoadedError;
58}(XRError));
59exports.XRSceneNotLoadedError = XRSceneNotLoadedError;
60var XRNoDomElement = /** @class */ (function (_super) {
61 __extends(XRNoDomElement, _super);
62 function XRNoDomElement() {
63 return _super !== null && _super.apply(this, arguments) || this;
64 }
65 return XRNoDomElement;
66}(XRError));
67exports.XRNoDomElement = XRNoDomElement;
68var XRSceneLoadFailure = /** @class */ (function (_super) {
69 __extends(XRSceneLoadFailure, _super);
70 function XRSceneLoadFailure() {
71 return _super !== null && _super.apply(this, arguments) || this;
72 }
73 return XRSceneLoadFailure;
74}(XRError));
75exports.XRSceneLoadFailure = XRSceneLoadFailure;
76var XRProviderNotConfigured = /** @class */ (function (_super) {
77 __extends(XRProviderNotConfigured, _super);
78 function XRProviderNotConfigured() {
79 return _super !== null && _super.apply(this, arguments) || this;
80 }
81 return XRProviderNotConfigured;
82}(XRError));
83exports.XRProviderNotConfigured = XRProviderNotConfigured;
84//# sourceMappingURL=Errors.js.map
\No newline at end of file