Exception: TermuxRubyApi::CommandError
- Inherits:
-
StandardError
- Object
- StandardError
- TermuxRubyApi::CommandError
- Defined in:
- lib/termux_ruby_api/base.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
Returns the value of attribute status.
-
#stderr ⇒ Object
Returns the value of attribute stderr.
Instance Method Summary collapse
-
#initialize(status: nil, stderr: nil) ⇒ CommandError
constructor
A new instance of CommandError.
Constructor Details
#initialize(status: nil, stderr: nil) ⇒ CommandError
15 16 17 18 |
# File 'lib/termux_ruby_api/base.rb', line 15 def initialize(status: nil, stderr: nil) @status = status @stderr = stderr end |
Instance Attribute Details
#status ⇒ Object
Returns the value of attribute status.
13 14 15 |
# File 'lib/termux_ruby_api/base.rb', line 13 def status @status end |
#stderr ⇒ Object
Returns the value of attribute stderr.
13 14 15 |
# File 'lib/termux_ruby_api/base.rb', line 13 def stderr @stderr end |