Add conversion to/from io::Error for kv::Error #336
No reviewers
Labels
No labels
bug
duplicate
easy
enhancement
help wanted
invalid
question
rfc
structured-logging
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-rust-lang/log!336
Loading…
Reference in a new issue
No description provided.
Delete branch "kv-error"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
And keep the original error, so that an io error inside the visitor is
returned accessible by the call to
visit.I started working on adding kv support to envlogger, and found that with the current implementation of kv::Error, it isn't possible to keep information about io errors from inside the visitor.
Thanks @tmccombs!
This looks good to me.