Changed pluginError to the new interface