Exception: CommandResultError
- Inherits:
-
StandardError
- Object
- StandardError
- CommandResultError
- Defined in:
- lib/linux_admin/exceptions.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(message, result) ⇒ CommandResultError
constructor
A new instance of CommandResultError.
Constructor Details
#initialize(message, result) ⇒ CommandResultError
Returns a new instance of CommandResultError.
4 5 6 7 |
# File 'lib/linux_admin/exceptions.rb', line 4 def initialize(, result) super() @result = result end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
2 3 4 |
# File 'lib/linux_admin/exceptions.rb', line 2 def result @result end |