Tweaked error URLs (#2489).

This commit is contained in:
Richard Moore 2022-02-21 14:16:25 -05:00
parent 4e8f004e9e
commit c562150d26

View File

@ -226,12 +226,9 @@ export class Logger {
const fault = message; const fault = message;
switch (fault) { switch (fault) {
case "overflow": case "underflow": case "overflow": case "underflow": case "division-by-zero":
url += "-" + fault; url += "-" + fault;
break; break;
case "division-by-zero": case "negative-modulo":
url += "-undefined";
break;
case "negative-power": case "negative-width": case "negative-power": case "negative-width":
url += "-unsupported"; url += "-unsupported";
break; break;