Skip to content

doc: DOMException missing from “Errors” API reference docs page #40789

Open
@DerekNonGeneric

Description

@DerekNonGeneric

📗 API Reference Docs Problem

  • Platform: Linux 5.10.47-linuxkit x86_64 GNU/Linux
  • Subsystem: errors

Location

Section of the site where the content exists

Affected URL(s):

Description

Concise explanation of the problem

DOMException, which was made globally available in v17.0.0, is not amongst the runtime errors listed in our “Errors” API reference docs.

It is, however, correctly listed on the “Globals” page.

By referencing the original (“Globals”) location from a brand new section dedicated to DOMException on our “Errors” page, I am thinking that we may be able to have it listed on both pages similar to how we list AssertionError on both /api/errors.html and /api/assert.html. Thoughts?

P.S. Unsure of how relevant this may be (perhaps wrt the potential misclassification of AbortError raised in #40692), but this seems worth mentioning in this issue…

Along w/ structuredClone (spec link) — which was also made globally available in v17.0.0 — we appear to have added our first (?) couple of objects to be classified as “platform objects” according to Web IDL (at least that’s mine and @domenic’s current interpret of the spec, anyway). Perhaps it may be worth explicitly identifying them as such in our documentation?

Any additional information/suggestions would be appreciated. It seems like it could simply be a minor oversight unless I am mistaken.

/cc @aduh95 @targos @Trott @BridgeAR @addaleax @mcollina @benjamingr @jasnell (et al. who may have more context)


  • I would like to work on this issue and
    submit a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    abortcontrollerIssues and PRs related to the AbortController APIassertIssues and PRs related to the assert subsystem.discussIssues opened for discussions and feedbacks.docIssues and PRs related to the documentations.errorsIssues and PRs related to JavaScript errors originated in Node.js core.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions