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

Editorial: Change exceptions to be more precise #70

Merged
merged 6 commits into from
Nov 8, 2022

Conversation

a-sully
Copy link
Collaborator

@a-sully a-sully commented Oct 27, 2022

Fixes #63

Before: {{InvalidStateError Error}}

After: "{{InvalidStateError Error}}" {{DOMException}}


Preview | Diff

@annevk
Copy link
Member

annevk commented Oct 28, 2022

This seems to include some of the other changes. Should we work on those first and then rebase this?

@a-sully
Copy link
Collaborator Author

a-sully commented Oct 31, 2022

Whoops, sorry about that. I hadn't meant to include those other changes here. There's some merge conflicts so I'll rebase once the other changes merge

@a-sully a-sully marked this pull request as draft October 31, 2022 17:19
@a-sully a-sully marked this pull request as ready for review November 1, 2022 21:23
@a-sully a-sully requested a review from annevk November 1, 2022 21:23
index.bs Outdated Show resolved Hide resolved
@annevk
Copy link
Member

annevk commented Nov 2, 2022

It seems this has been impacted by whatwg/whatwg.org#401. Will try to sort that, but not sure about the timeline.

@annevk annevk merged commit b0f0396 into whatwg:main Nov 8, 2022
@annevk
Copy link
Member

annevk commented Nov 8, 2022

By the way, you want stuff like "Fixes #63" to be in the commit message body so you don't have to visit the PR to find the issue discussion.

@a-sully a-sully deleted the expection-precision branch November 8, 2022 17:41
a-sully added a commit to a-sully/fs that referenced this pull request Jan 12, 2023
Fixes whatwg#63

These should have been fixed in whatwg#70 but ¯\_(ツ)_/¯
a-sully added a commit that referenced this pull request Jan 12, 2023
Fixes #63

These should have been fixed in #70 but clearly I missed some ¯\_(ツ)_/¯
a-sully added a commit to WICG/file-system-access that referenced this pull request Jun 20, 2023
Before: `throw a {{SecurityError}}`
After: `[=throw=] a "{{SecurityError}}" {{DOMException}}`

See whatwg/fs#63 and whatwg/fs#89. Fixed in the upstream spec in whatwg/fs#70 and whatwg/fs#91, respectively
github-actions bot added a commit to WICG/file-system-access that referenced this pull request Jun 20, 2023
Before: `throw a {{SecurityError}}`
After: `[=throw=] a "{{SecurityError}}" {{DOMException}}`

See whatwg/fs#63 and whatwg/fs#89. Fixed in the upstream spec in whatwg/fs#70 and whatwg/fs#91, respectively

SHA: a350a87
Reason: push, by @a-sully

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Be more precise about exceptions
2 participants