Convert anyhow::Result
s in parsing functions to custom error type.
#32
Labels
enhancement
New feature or request
I like this library, but one downside is that it returns an
anyhow::Result
instead of a custom error type. Generally, it's better for libraries to implement these custom error types as it gives more information to the user about what went wrong, asanyhow::Result
can be very vague at times. Consider possibly usingthiserror
orsnafu
? That way I can actually see (and report!) what went wrong instead of dealing with an opaque type returned byanyhow
.The text was updated successfully, but these errors were encountered: