Exception: Expressir::CommandError
- Defined in:
- lib/expressir/errors.rb
Overview
Command Errors (for rescue blocks)
Direct Known Subclasses
PackageBuildError, PackageExtractError, PackageListError, PackageReadError, PackageSearchError, PackageTreeError, PackageValidationError
Instance Attribute Summary collapse
-
#command_name ⇒ Object
readonly
Returns the value of attribute command_name.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message, command_name: nil) ⇒ CommandError
constructor
A new instance of CommandError.
Constructor Details
#initialize(message, command_name: nil) ⇒ CommandError
Returns a new instance of CommandError.
100 101 102 103 |
# File 'lib/expressir/errors.rb', line 100 def initialize(, command_name: nil) @command_name = command_name super() end |
Instance Attribute Details
#command_name ⇒ Object (readonly)
Returns the value of attribute command_name.
98 99 100 |
# File 'lib/expressir/errors.rb', line 98 def command_name @command_name end |