SpryFox / DarkConfig

DarkConfig is a configuration library for games which supports fast and expressive iteration
Other
150 stars 19 forks source link

Reduce confusing output when encountering a parse exception #55

Closed jorgenpt closed 1 year ago

jorgenpt commented 1 year ago

Every layer of the parsing stack would re-catch and wrap the exceptions from the higher layers even if they didn't add any information, causing additional "line attribution" to the output that just made things confusing. This only re-wraps it if it doesn't have line number information already.