Closed
Description
Use case
Discussed in #2170
Originally posted by **adithep** April 27, 2023
For HTTP resolver, there are few ways to handle exception: https://awslabs.github.io/aws-lambda-powertools-python/2.14.1/core/event_handler/api_gateway/#exception-handling
But for AppSyncResolver
, I have no idea who to handle exceptions
Solution/User Experience
Implement @app.exception_handler(ValueError)
on the AppSyncResolver
.
Alternative solutions
No response
Acknowledgment
- This feature request meets Lambda Powertools Tenets
- Should this be considered in other Lambda Powertools languages? i.e. Java, TypeScript
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Shipped