summaryrefslogtreecommitdiff
path: root/lib/Getopt/Dakkar/X.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Getopt/Dakkar/X.pm')
-rw-r--r--lib/Getopt/Dakkar/X.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Getopt/Dakkar/X.pm b/lib/Getopt/Dakkar/X.pm
index e595b71..f705ed5 100644
--- a/lib/Getopt/Dakkar/X.pm
+++ b/lib/Getopt/Dakkar/X.pm
@@ -2,3 +2,15 @@ package Getopt::Dakkar::X;
use Getopt::Dakkar::Style;
# VERSION
# ABSTRACT: exceptions
+
+package Getopt::Dakkar::X::ExtraArgs {
+ use Getopt::Dakkar::Style qw(class);
+ with 'Throwable';
+ has args => ( is => 'ro', isa => ArrayRef, required => 1 );
+};
+
+package Getopt::Dakkar::X::BadOption {
+ use Getopt::Dakkar::Style qw(class);
+ with 'Throwable';
+ has input => ( is => 'ro', isa => Str, required => 1 );
+};