lexpr-rs icon indicating copy to clipboard operation
lexpr-rs copied to clipboard

better error messages that return what line and what column the problem is at

Open jestarray opened this issue 5 years ago • 1 comments

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Message("invalid type: cons cell, expected a number", None)', src\main.rs:778:59

I have no idea where this is at.

jestarray avatar Oct 04 '20 01:10 jestarray

serde-lexpr should probably play the same shenanigans as serde_json does, which has extra code to round-trip the location information by parsing the string produced by the error's Display implementation.

rotty avatar Mar 08 '23 21:03 rotty