This RFC proposes a backwards-incompatible change to the construction of JsError values. It makes the following changes:
Replaces the ErrorKind enum with simple methods for constructing various error types, to make it possible to add new error types compatibly in the future.
Reduces the set of error types to Error, RangeError, and TypeError, since these are currently the only error types supported by N-API.
📢 This was a bit of a last-minute addition to #22, but I'm going to put it in final comment period as well. We haven't seen much discussion and I'd like to get the 0.2 release out soon. 📢
From the RFC summary:
Rendered