Better error reporting on elements list filters
Followup of !1625 (merged)
As mentionned by @erouchet in this comment, we could have a better support for backend error message (code 400) when filtering elements.
The list of errors can be processed, each known key can be transcribed using an hardcoded dict in the frontend to render a list of errors as:
An error occurred when listing elements:
- The transcription worker run and transcription worker version filters are mutually exclusive.
- Rotation angle: invalid literal for int() with base 10: 'upsidedown'
- Transcription confidence:
- This operator is not supported.
- This option is not supported without transcription_confidence.
- Transcription worker run ID: This worker run does not exist.
- Transcription worker version: Invalid UUID