diff options
Diffstat (limited to 'lib/getoptlong.rb')
-rw-r--r-- | lib/getoptlong.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/getoptlong.rb b/lib/getoptlong.rb index e90a9d45bc..9c8ed09db9 100644 --- a/lib/getoptlong.rb +++ b/lib/getoptlong.rb @@ -33,10 +33,11 @@ class GetoptLong # # Error types. # - class AmbigousOption < StandardError; end - class NeedlessArgument < StandardError; end - class MissingArgument < StandardError; end - class InvalidOption < StandardError; end + class Error < StandardError; end + class AmbigousOption < Error; end + class NeedlessArgument < Error; end + class MissingArgument < Error; end + class InvalidOption < Error; end # # Initializer. |