AWS - API Gateway
You have a response mapping template that needs to conditionally include an
error field only if the backend response contains an error message. Which of the following templates correctly implements this logic?