martinohmann / hcl-rs

HCL parsing and encoding libraries for rust with serde support
Apache License 2.0
119 stars 14 forks source link

expose hcl-edit parser error message #334

Closed dzhou121 closed 3 months ago

dzhou121 commented 3 months ago

hcl-edit parser error already returns line and location, but message is also required for the user to be able to pretty print the error themselves

martinohmann commented 3 months ago

@dzhou121 useful addition, thanks!