Re: [whatwg/webidl] New error name: OptOutError (Issue #1168)

I'm working on spec'ing and implementing a new error type for SPC's opt-out case (discussed at the top of this issue), so we can change it from AbortError.

@domenic I see you have a PR open to formalize this, thank you! For our SPC opt-out case, do you think we should have a specific `SPCOptOutError`, or would it make more sense to add a general `OptOutError` to the [error names table](https://webidl.spec.whatwg.org/#dfn-error-names-table)? Our use case is pretty straightforward, I believe the idl would just look like:

```
interface SPCOptOutError : DOMException {
};
```

since we don't need any special attributes.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1168#issuecomment-1301080411
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1168/1301080411@github.com>

Received on Wednesday, 2 November 2022 18:56:05 UTC