-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fixes #25 Provide more detailed TOML decoding errors by adding `DecodeError` enum to represent different error types. Author's questions: > Does the toml crate provide better decoding than as_str() and friends? All such functions return Option<...> while it would be better to have Result<..., ...> I couldn't find better decoding than as_str() but I did map `Option<>` to `Result<_, DecodeError>` so I guess dealing with Option is fine? ### Additional tasks - [ ] Documentation for changes provided/changed - [x] Tests added - [ ] Updated CHANGELOG.md
- Loading branch information
Showing
1 changed file
with
100 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters