Revert "First draft of PluginError"

This reverts commit 16a33a4f99491c5990a301f6d3490cab9b94f2d3.