Skip to content

Taipy.rest.api.error handler.handle marshmallow error

Return json error for marshmallow validation errors.

This will avoid having to try/catch ValidationErrors in all endpoints, returning correct JSON response with associated HTTP 400 Status (https://tools.ietf.org/html/rfc7231#section-6.5.1)