krieselreihe / litr

Litr (Language Independent Task Runner) lets you configure and then run any tasks you want for any language.
MIT License
8 stars 0 forks source link

Parse TOML errors to custom errors #11

Closed MartinHelmut closed 3 years ago

MartinHelmut commented 3 years ago

Errors produced by https://github.com/ToruNiina/toml11 need to be parsed/wrapped to be more helpful and guiding for a user. Also, the internal mechanics shall not be put to the user (e.g. "What if the TOML lib changes?"). See https://github.com/ToruNiina/toml11#exceptions for more information.

MartinHelmut commented 3 years ago

Basic custom error message are now provided due to: https://github.com/krieselreihe/litr/commit/4e3d584af2d999e47fab1c54916338089c815d7f