Class: Toys::ArgParser::FlagGroupConstraintError

Inherits:
UsageError
  • Object
show all
Defined in:
toys-core/lib/toys/arg_parser.rb

Overview

Defined in the toys-core gem

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.



287
288
289
# File 'toys-core/lib/toys/arg_parser.rb', line 287

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