Skip to content

Question: Is it possible to identify possible errors for an operation from the JSON files? #1426

@stroiman

Description

@stroiman

I'm working on a "small" project, a headless browser in Go with an embedded v8; and I've started using this project as a source to generate Go code. So far, primarily v8 wrapper on top of native Go implementations.

For this purpose, I'd very much like to know if each operation can result in an error, particularly because of how idiomatic error handling in Go works.

I am consuming files from webref/curated/idlparsed, e.g. for the URL type, I consume webref/curated/idlparsed/url.json (I assume this is a good source for this use case?).

The URL constructor can throw a TypeError, and that information is in prose in curated/algorithms/url.json, but I wasn't able to find that information in a more precise manner.

Is that information available in easy-to-consume machine readable format?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions