'How to use single Controller advice for multiple microservice

I have a project in which there are multiple microservices, how can I implement a single Controller advice to handle all exceptions.?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source