Changes error to be gutil.PluginError