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.
11 12 13 |
# File 'lib/braid/operations.rb', line 11 def initialize(err = nil) @err = err end |
Instance Method Details
#message ⇒ Object
15 16 17 |
# File 'lib/braid/operations.rb', line 15 def @err.to_s.split("\n").first end |