aboutsummaryrefslogtreecommitdiff
path: root/lib/X/Dist/Maker/DuplicateProvide.rakumod
diff options
context:
space:
mode:
Diffstat (limited to 'lib/X/Dist/Maker/DuplicateProvide.rakumod')
-rw-r--r--lib/X/Dist/Maker/DuplicateProvide.rakumod33
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/X/Dist/Maker/DuplicateProvide.rakumod b/lib/X/Dist/Maker/DuplicateProvide.rakumod
new file mode 100644
index 0000000..7b24251
--- /dev/null
+++ b/lib/X/Dist/Maker/DuplicateProvide.rakumod
@@ -0,0 +1,33 @@
+#! /usr/bin/env false
+
+use v6.d;
+
+use Dist::Maker::Exception;
+
+unit class X::Dist::Maker::DuplicateProvide does Dist::Maker::Exception;
+
+has $.provide;
+
+method code () { 5 }
+
+method message () {
+ "$!provide is already provided."
+}
+
+=begin pod
+
+=NAME X::Dist::Maker::DuplicateProvide
+=AUTHOR Patrick Spek <p.spek@tyil.work>
+=VERSION 0.0.0
+
+=head1 Synopsis
+
+=head1 Description
+
+=head1 Examples
+
+=head1 See also
+
+=end pod
+
+# vim: ft=perl6 noet