Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(core): simplify error handling #10297

Merged
merged 6 commits into from
Apr 22, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fmt
  • Loading branch information
AaronO committed Apr 21, 2021
commit 5a2c85c2812929888fa1262fd5086fb9e500c433
4 changes: 2 additions & 2 deletions runtime/js/99_main.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ delete Object.prototype.__proto__;
core.registerErrorClass(
"DOMExceptionOperationError",
function DOMExceptionOperationError(msg) {
this = new DOMException(msg, "OperationError")
}
this = new DOMException(msg, "OperationError");
},
);
}

Expand Down