Exception: Aspera::Cli::HelpRequest
- Inherits:
-
StandardError
- Object
- StandardError
- Aspera::Cli::HelpRequest
- Defined in:
- lib/aspera/cli/error.rb
Overview
Raised by dispatch_from_registry when --help is encountered mid-dispatch. Carries the plugin instance (with #help_path set) so the runner can display context-sensitive help without unwinding through a full rescue chain.
Instance Attribute Summary collapse
- #plugin ⇒ Plugins::Base readonly
Instance Method Summary collapse
-
#initialize(plugin) ⇒ HelpRequest
constructor
A new instance of HelpRequest.
Constructor Details
#initialize(plugin) ⇒ HelpRequest
Returns a new instance of HelpRequest.
15 16 17 18 |
# File 'lib/aspera/cli/error.rb', line 15 def initialize(plugin) super('help requested') @plugin = plugin end |
Instance Attribute Details
#plugin ⇒ Plugins::Base (readonly)
13 14 15 |
# File 'lib/aspera/cli/error.rb', line 13 def plugin @plugin end |