Class: Kotoshu::Cli::Errors::UsageError
- Defined in:
- lib/kotoshu/cli/errors.rb
Overview
Usage error: bad flags, missing argument, file not found (exit 2).
Instance Attribute Summary
Attributes inherited from CliError
Instance Method Summary collapse
-
#initialize(message) ⇒ UsageError
constructor
A new instance of UsageError.
Constructor Details
#initialize(message) ⇒ UsageError
Returns a new instance of UsageError.
23 24 25 |
# File 'lib/kotoshu/cli/errors.rb', line 23 def initialize() super(, exit_status: 2) end |