How to handle a exception from a dot net extension?
Hello @Sathish Natarajan,
What you can do within the extension is add an output parameter to the exposed function, for example, IsSuccess based on its success. Then, in Service Studio, check the value of IsSuccess using an If condition. If it returns False, you can raise an exception and handle it according to your application's requirements.
Just like you handle other exceptions. The difference is that an exception from an Extension can't be typed, i.e. it's only possible to handle it with an "All Exceptions" handler. If you want specific situations to be handled, go the route that Sherif wrote, i.e. have the Extension return specific fault codes.