Exception: ShellOpts::Error
- Inherits:
-
ShellOptsError
- Object
- StandardError
- ShellOptsError
- ShellOpts::Error
- Defined in:
- lib/shellopts.rb
Overview
Raised on syntax errors on the command line (eg. unknown option). When ShellOpts handles the exception a message with the following format is printed on standard error:
<program>: <message>
Usage: <program> ...
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from ShellOptsError
Method Summary
Methods inherited from ShellOptsError
Constructor Details
This class inherits a constructor from ShellOpts::ShellOptsError