Exception: Braid::Operations::ShellExecutionError
- Inherits:
-
BraidError
- Object
- StandardError
- BraidError
- Braid::Operations::ShellExecutionError
- Defined in:
- lib/braid/operations.rb
Instance Method Summary collapse
-
#initialize(err = nil) ⇒ ShellExecutionError
constructor
A new instance of ShellExecutionError.
- #message ⇒ Object
Constructor Details
#initialize(err = nil) ⇒ ShellExecutionError
Returns a new instance of ShellExecutionError.
9 10 11 |
# File 'lib/braid/operations.rb', line 9 def initialize(err = nil) @err = err end |
Instance Method Details
#message ⇒ Object
13 14 15 |
# File 'lib/braid/operations.rb', line 13 def @err.to_s.split("\n").first end |