Show Error message from @custom API response in GraphQL response

I only get a generic Response in GraphQL when throwing a 4xx Error in my custom API, how can show the Error message in the GraphQL response?

Hi thanks for the question.

Can you give a quick example of your 4xx error and what error message you’d like the GraphQL server to return.

tagging in @JatinDevDG

Hey, I got it working when using a custom graphql endpoint, which works better for anyway, as I can inspect the actual query.