Error Message
https://yourwebsite.com/splash.html?actionurl=......&res=failed&reason=xxxxParameters
Description
Reference Code
<script>
function check_error(){
const params = new Proxy(new URLSearchParams(window.location.search), {
get: (searchParams, prop) => searchParams.get(prop),
});
if (params.res === "failed") {
switch(params.reason) {
case "reject":
alert("Invalid Username or Password.");
break;
case "timeout":
alert("No response from authentication server.");
break;
case "mtu":
alert("Abnormal network error.");
break;
case "other":
alert("Other errors.");
break;
default:
alert("Other errors. (no reason)");
}
}
}
</script>
</head>
<body onload="check_error()" style="">Last updated
Was this helpful?

