graphql-spring-boot icon indicating copy to clipboard operation
graphql-spring-boot copied to clipboard

How to handle Client Exception using @ExceptionHandler

Open anuj2408 opened this issue 2 years ago • 0 comments

Hi,

Is it possible to handle client exception(invalid input json or invalid query) using @ExceptionHandler annotation.

I am able to handle any server side exception like custom exceptions or say a NullPointerException. But not able to capture exception in case client sends a invalid query.

Please, help to solve this issue.

anuj2408 avatar Sep 06 '21 18:09 anuj2408