Error Handling and Pop-Up Notifications in OnlyOffice Web Version

Yes, I tried to access elements from the callCommand first parameter callback function but was unable to do so. Additionally, I attempted to return an error message from the first callback function to the last parameter callback function (here I am able to access elements). However, in some cases, I encountered difficulty in returning an error message, such as when I made a call to the fetch method. In these situations, I was unable to retrieve the error message, preventing me from accessing it in the last parameter callback function. I have shared my plugin here. Please take a look