-
Assume {"name" : "a", "attr": {"price" : "Invalid", "number": 20}} Is it possible to know the path of error like |
Beta Was this translation helpful? Give feedback.
Answered by Julian Oct 23, 2023
Replies: 1 comment
-
Yes, that is called the "path" of the error, and is available on any |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by Freed-Wu
Sign up for free to join this conversation on . Already have an account? Sign in to comment
Yes, that is called the "path" of the error, and is available on any
ValidationError
object. See here for details.