Exception: Braid::Operations::ShellExecutionError

Inherits:
BraidError
  • Object
show all
Defined in:
lib/braid/operations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from T::Sig

#sig

Constructor Details

#initialize(err, out) ⇒ ShellExecutionError

Returns a new instance of ShellExecutionError.



17
18
19
20
# File 'lib/braid/operations.rb', line 17

def initialize(err, out)
  @err = err
  @out = out
end

Instance Attribute Details

#errObject (readonly)

Returns the value of attribute err.



14
15
16
# File 'lib/braid/operations.rb', line 14

def err
  @err
end

#outObject (readonly)

Returns the value of attribute out.



14
15
16
# File 'lib/braid/operations.rb', line 14

def out
  @out
end

Instance Method Details

#messageObject



23
24
25
# File 'lib/braid/operations.rb', line 23

def message
  @err
end