Exception: Toys::ArgParsingError
- Inherits:
-
StandardError
- Object
- StandardError
- Toys::ArgParsingError
- Defined in:
- core-docs/toys/errors.rb
Overview
An exception indicating problems parsing arguments. These are generally handled internally by triggering usage error handlers.
Defined in the toys-core gem
Instance Attribute Summary collapse
-
#usage_errors ⇒ Array<Toys::ArgParser::UsageError>
readonly
The individual usage error messages.
Instance Method Summary collapse
-
#initialize(errors) ⇒ ArgParsingError
constructor
Create an ArgParsingError given a set of error messages.
Constructor Details
#initialize(errors) ⇒ ArgParsingError
Create an ArgParsingError given a set of error messages
53 54 55 |
# File 'core-docs/toys/errors.rb', line 53 def initialize(errors) # Source available in the toys-core gem end |
Instance Attribute Details
#usage_errors ⇒ Array<Toys::ArgParser::UsageError> (readonly)
The individual usage error messages.
61 62 63 |
# File 'core-docs/toys/errors.rb', line 61 def usage_errors @usage_errors end |