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?