aboutsummaryrefslogtreecommitdiff
path: root/lib/X/Config/NotSupported.rakumod
diff options
context:
space:
mode:
Diffstat (limited to 'lib/X/Config/NotSupported.rakumod')
-rw-r--r--lib/X/Config/NotSupported.rakumod39
1 files changed, 39 insertions, 0 deletions
diff --git a/lib/X/Config/NotSupported.rakumod b/lib/X/Config/NotSupported.rakumod
new file mode 100644
index 0000000..f5c2d84
--- /dev/null
+++ b/lib/X/Config/NotSupported.rakumod
@@ -0,0 +1,39 @@
+#! /usr/bin/env false
+
+use v6.d;
+
+unit class X::Config::NotSupported is Exception;
+
+has Str $.call;
+has Str $.help;
+
+method message
+{
+ $!help
+}
+
+=begin pod
+
+=NAME X::Config::NotSupported
+=VERSION 3.0.0
+=AUTHOR Patrick Spek <p.spek@tyil.work>
+
+=begin LICENSE
+Copyright © 2020
+
+This program is free software: you can redistribute it and/or modify it under
+the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation, version 3.
+
+This program is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+details.
+
+You should have received a copy of the GNU Lesser General Public License along
+with this program. If not, see http://www.gnu.org/licenses/.
+=end LICENSE
+
+=end pod
+
+# vim: ft=raku noet sw=8 ts=8