summaryrefslogtreecommitdiff
path: root/lib/slop/error.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/slop/error.rb')
-rw-r--r--lib/slop/error.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/slop/error.rb b/lib/slop/error.rb
index b02de3b..e024645 100644
--- a/lib/slop/error.rb
+++ b/lib/slop/error.rb
@@ -32,4 +32,9 @@ module Slop
@flag = flag
end
end
+
+ # Raised when a required option is *not* parsed.
+ # Suppress with the `suppress_errors` config option.
+ class MissingRequiredOption < Error
+ end
end