Helper
NoSuchEntityExceptionMessageFormatter
Magento\GraphQl\Helper\Error\MessageFormatters\NoSuchEntityExceptionMessageFormatter
What it does
This helper class formats NoSuchEntityException errors for GraphQL responses.
It intercepts internally-thrown NoSuchEntityException instances and converts them into GraphQlNoSuchEntityException while preserving the original error message, ensuring that 'entity not found' errors are properly communicated to GraphQL API clients with appropriate context.
Public Methods
- getFormatted()