Class: Toys::ArgParser::FlagGroupConstraintError

Inherits:
UsageError
  • Object
show all
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

Methods inherited from UsageError

#full_message

Constructor Details

#initialize(message) ⇒ FlagGroupConstraintError

Create a FlagGroupConstraintError.

Parameters:

  • message (String)

    The message. Required.



263
264
265
# File 'lib/toys/arg_parser.rb', line 263

def initialize(message)
  super(message, name: nil)
end