In Python, I can use marshmallow or Pydantic to validate user input just by defining a schema (much like a Rust struct). Then using that schema, Marshmallow loads the user input and returns the error it finds. Such as:


I can have custom error handle in actix-web by implementing ResponseError.
But, how can I return the description (position/field of invalid value) in a bad request body to the client?


