**Description** <!-- A clear and concise description of the new feature. --> API platform should know default structure of own error responses, see: ``` \ApiPlatform\State\ApiResource\Error \ApiPlatform\Validator\Exception\ValidationException ``` but don't generate schema for it. as a result you can't generate models for it and automatically map error responses in external apps. **Example** <!-- A simple example of the new feature in action (include PHP code, YAML config, etc.) If the new feature changes an existing feature, include a simple before/after comparison. -->  https://symfony-devs.slack.com/archives/C39FKU9AL/p1736882842918879?thread_ts=1736854101.898269&cid=C39FKU9AL
Description
API platform should know default structure of own error responses, see:
but don't generate schema for it. as a result you can't generate models for it and automatically map error responses in external apps.
Example
https://symfony-devs.slack.com/archives/C39FKU9AL/p1736882842918879?thread_ts=1736854101.898269&cid=C39FKU9AL