Method: Pipes::Context#halt
- Defined in:
- lib/codequest_pipes/context.rb
#halt(error = 'Execution stopped') ⇒ Object
Quietly fail the pipe, allowing the error to be saved and accessed from the Context.
39 40 41 |
# File 'lib/codequest_pipes/context.rb', line 39 def halt(error = 'Execution stopped') @error = error end |