This is just a small tidy up to reduce some duplication of logic for handling errors and calling Java callbacks.
I've got some more features I'd like to add (supporting listing tables and configuration options) but thought this should be its own pull request before adding these.
This is just a small tidy up to reduce some duplication of logic for handling errors and calling Java callbacks.
I've got some more features I'd like to add (supporting listing tables and configuration options) but thought this should be its own pull request before adding these.