UNPKG

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