Provide stack traces for runtime errors. #418
Labels
area/user-experience
Pertaining to developers trying to use Quilkin, e.g. cli interface, configuration, etc
kind/feature
New feature or request
priority/medium
Issues that we want to resolve, but don't require immediate resolution.
Currently we use
thiserror
for defining errors. This is pretty good, as it has minimal boilerplate for passing up errors in the library. However when we print the errors they are currently a bit lacking in enough context to make them useful. For example; Errors do not currently print stack traces, which makes it a lot harder to debug errors at runtime, since something likeRecvError(())
can happen in a lot of places.To get these features, it would be quickest and simplest to move to a different error library. My preference would be for using
eyre
, but I don't know if other people feel strongly either way.The text was updated successfully, but these errors were encountered: