|
Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 System : Windows NT SERVER-PC 10.0 build 26200 (Windows 11) AMD64 User : ServerPC ( 0) PHP Version : 8.2.12 Disable Function : NONE Directory : C:/Windows/SystemApps/Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy/js/ |
Upload File : |
"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 = {}));