use gutil.PluginError for error reporting