summaryrefslogtreecommitdiff
path: root/src/PluginUnavailable.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/PluginUnavailable.hxx')
-rw-r--r--src/PluginUnavailable.hxx13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/PluginUnavailable.hxx b/src/PluginUnavailable.hxx
index 379bd87bf..a29361ad4 100644
--- a/src/PluginUnavailable.hxx
+++ b/src/PluginUnavailable.hxx
@@ -27,9 +27,20 @@
* that this plugin is unavailable. It will be disabled, and MPD can
* continue initialization.
*/
-class PluginUnavailable final : public std::runtime_error {
+class PluginUnavailable : public std::runtime_error {
public:
using std::runtime_error::runtime_error;
};
+/**
+ * Like #PluginUnavailable, but denotes that the plugin is not
+ * available because it was not explicitly enabled in the
+ * configuration. The message may describe the necessary steps to
+ * enable it.
+ */
+class PluginUnconfigured : public PluginUnavailable {
+public:
+ using PluginUnavailable::PluginUnavailable;
+};
+
#endif