I am working on a Blue Iris plugin. One plugin instance manages all the cameras (devices) on a single server. Plugin Settings specify the Server name, IP Address, Username & Password. I have two Blue Iris servers, so I have two plugin instances. It is working pretty well.
My question about implementing Plugin Error Handling.
For example, if I were to specify he wrong username or password, the Plugin’s onConnect() gets the Settings for the plugin instance and calls my biLogin(). The Blue Iris Login API returns a failure status with reason “no matching user/pwd”. I parse and throw the error and catch it in onConnect() but other than writing to the console log, how can it be returned and displayed to the user somehow, in a popup if possible.
The plugin is being invoked through the use of the DeviceBrowser to load up the tiles.
Thanks /keith