Exception: Boxd::ExecError
Instance Attribute Summary collapse
-
#exit_code ⇒ Object
readonly
Returns the value of attribute exit_code.
-
#stderr ⇒ Object
readonly
Returns the value of attribute stderr.
-
#stdout ⇒ Object
readonly
Returns the value of attribute stdout.
Instance Method Summary collapse
-
#initialize(message, exit_code:, stdout:, stderr:) ⇒ ExecError
constructor
A new instance of ExecError.
Constructor Details
#initialize(message, exit_code:, stdout:, stderr:) ⇒ ExecError
Returns a new instance of ExecError.
18 19 20 21 22 23 |
# File 'lib/boxd/errors.rb', line 18 def initialize(, exit_code:, stdout:, stderr:) super() @exit_code = exit_code @stdout = stdout @stderr = stderr end |
Instance Attribute Details
#exit_code ⇒ Object (readonly)
Returns the value of attribute exit_code.
16 17 18 |
# File 'lib/boxd/errors.rb', line 16 def exit_code @exit_code end |
#stderr ⇒ Object (readonly)
Returns the value of attribute stderr.
16 17 18 |
# File 'lib/boxd/errors.rb', line 16 def stderr @stderr end |
#stdout ⇒ Object (readonly)
Returns the value of attribute stdout.
16 17 18 |
# File 'lib/boxd/errors.rb', line 16 def stdout @stdout end |