dtolnay / dtolnay/path-to-error

How to obtain the type of errors?

Open
#28 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
425
Forks
25
PR merge metrics
No merged PRs in 30d

Description

I want to use json as the request body of my webservice with a json format error reported when "bad request". But this lib, which is awesome, only reports the path of the error. How can I get the type of errors such as missed key or mismatched type?

By the way, I found that when this is a missed key, this library will report the parent.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.