Is it possible to catch errors that occur in the PDF Viewer? For example, if there is an error importing annotations, I see the message box "Imported JSON file is not found in the desired location". I want to catch that error or any other error like this. How can I do this?
Regards,
Arthur