I want to handle exceptions on client side without showing the default popup exibithed by GroupDocs (see attached image).
I know that I can change the value of parameter ‘enableStandardErrorHandling’ passed to GroupDocs jQuery which disables showing this popup, but how can I catch the message that comes from the server side?
I want to show a customized error message and the way I want to show the message is not a popup.
Hello ,
Thank you for your inquiry.
Yes, you can catch the exception for all our handlers , each of them can throw the exception and you can customize it as you want. You should use this simple code for catching these exceptions:
try {
"Code of handler"
} catch (Exception e){
"Return your customized exception"
}
Also you can check how to configure this from our sample
here.
If you will have more questions please feel free to contact us.
-------
Best regards,
Evgen Efimov
http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+