Update guidelines.md

Added missing 'new' because of "Call PluginError using new"