Exception: Yacli::InvalidContentError
- Inherits:
-
YacliError
- Object
- StandardError
- YacliError
- Yacli::InvalidContentError
- Defined in:
- lib/yacli/errors.rb
Instance Method Summary collapse
-
#initialize(cmd_return) ⇒ InvalidContentError
constructor
A new instance of InvalidContentError.
- #to_s ⇒ Object
Methods inherited from YacliError
Constructor Details
#initialize(cmd_return) ⇒ InvalidContentError
Returns a new instance of InvalidContentError.
27 28 29 |
# File 'lib/yacli/errors.rb', line 27 def initialize(cmd_return) @cmd_return = cmd_return.inspect end |
Instance Method Details
#to_s ⇒ Object
31 32 33 |
# File 'lib/yacli/errors.rb', line 31 def to_s "Command output #{@cmd_return}" end |