I'd like to parse incoming request data using schema.load() and have my framework handle any parsing errors.
It seems that returning a clear error message to the user is hard to do, because I cannot figure out how to know from an UnmarshallingError which field actually failed.
I'd like to parse incoming request data using schema.load() and have my framework handle any parsing errors.
It seems that returning a clear error message to the user is hard to do, because I cannot figure out how to know from an UnmarshallingError which field actually failed.