Helper
ValidationExceptionMessageFormatter
Magento\GraphQl\Helper\Error\MessageFormatters\ValidationExceptionMessageFormatter
What it does
This helper class formats validation exception messages for GraphQL responses.
When a validation error occurs during GraphQL query execution, it converts Magento validation exceptions into GraphQL-specific input exceptions while preserving the original error message, ensuring validation failures are properly communicated to API consumers.
Public Methods
- getFormatted()