| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Windows/SystemApps/Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy/js/ |
Upload File : |
//
// Copyright (C) Microsoft. All rights reserved.
//
/// <disable>JS2085.EnableStrictMode</disable>
"use strict";
var CloudExperienceHost;
(function (CloudExperienceHost) {
class ErrorNames {
}
ErrorNames.Unexpected = "Unexpected";
ErrorNames.InvalidExperience = "InvalidExperience";
ErrorNames.CannotConnect = "CannotConnect";
ErrorNames.Timeout = "Timeout";
ErrorNames.InvalidArgument = "InvalidArgument";
ErrorNames.ActivationNotSupported = "ActivationNotSupported";
ErrorNames.NodeNotFound = "NodeNotFound";
CloudExperienceHost.ErrorNames = ErrorNames;
class InvalidExperienceError {
constructor(message) {
this.name = ErrorNames.InvalidExperience;
this.message = message;
}
}
CloudExperienceHost.InvalidExperienceError = InvalidExperienceError;
class InvalidArgumentError {
constructor(message) {
this.name = ErrorNames.InvalidArgument;
this.message = message;
}
}
CloudExperienceHost.InvalidArgumentError = InvalidArgumentError;
class NodeNotFoundError {
constructor(message) {
this.name = ErrorNames.NodeNotFound;
this.message = message;
}
}
CloudExperienceHost.NodeNotFoundError = NodeNotFoundError;
class NavigationError {
constructor(status, uri, node, message) {
this.status = status;
this.message = message;
this.uri = uri;
this.name = this._getName();
this.node = node;
}
_getName() {
var name;
switch (this.status) {
case Windows.Web.WebErrorStatus.cannotConnect: // FALLTHROUGH
case Windows.Web.WebErrorStatus.serverUnreachable: // FALLTHROUGH
case Windows.Web.WebErrorStatus.notFound: // FALLTHROUGH
case Windows.Web.WebErrorStatus.serviceUnavailable:
name = ErrorNames.CannotConnect;
break;
case Windows.Web.WebErrorStatus.timeout: // FALLTHROUGH
case Windows.Web.WebErrorStatus.requestTimeout:
name = ErrorNames.Timeout;
break;
default:
name = ErrorNames.Unexpected;
break;
}
return name;
}
}
CloudExperienceHost.NavigationError = NavigationError;
})(CloudExperienceHost || (CloudExperienceHost = {}));
//# sourceMappingURL=error.js.map