vorner / spirit

Apache License 2.0
162 stars 6 forks source link

Error handling: provide context #8

Closed vorner closed 5 years ago

vorner commented 6 years ago

Currently, the errors produced are the low-level ones, like „file not found“. It would be good to provide more info, like that it happened during loading of configuration. The .context from failure should help with that.

vorner commented 5 years ago

While this is something that needs more improving and polishing (probably always), it seems to be mostly done.