Exception: Toys::ArgParser::FlagGroupConstraintError
- Inherits:
-
UsageError
- Object
- StandardError
- UsageError
- Toys::ArgParser::FlagGroupConstraintError
- Defined in:
- lib/toys/arg_parser.rb
Overview
A UsageError indicating a flag group constraint was not fulfilled.
Instance Attribute Summary
Attributes inherited from UsageError
#message, #name, #suggestions, #value
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ FlagGroupConstraintError
constructor
Create a FlagGroupConstraintError.
Methods inherited from UsageError
Constructor Details
#initialize(message = nil) ⇒ FlagGroupConstraintError
Create a FlagGroupConstraintError.
282 283 284 285 |
# File 'lib/toys/arg_parser.rb', line 282 def initialize( = nil) super( || "A flag group constraint was violated", skip_frames: 1) end |