Return error position for errors returned by oxc_transform_napi
#7261
Labels
C-enhancement
Category - New feature or request
oxc_transform_napi
#7261
oxc/napi/transform/src/transformer.rs
Line 187 in 2268a0e
This line returns
string[]
, but I'd like to get the value where the error happened. The error message contains that information, but that requires parsing the error message.If the error returns
Error[]
(Error
is either of the following), I can achieve that without manual parsing.I used the position to generate the frame on my side (so that the frame is same).
The text was updated successfully, but these errors were encountered: