lib/dirty_pipeline/transition.rb in dirty_pipeline-0.6.0 vs lib/dirty_pipeline/transition.rb in dirty_pipeline-0.6.1
- old
+ new
@@ -1,12 +1,8 @@
module DirtyPipeline
class Transition
- def Abort()
- throw :fail_operation, :abort
- end
-
def Error(error)
- throw :fail_operation, error
+ throw :fail_transition, error
end
def Success(changes = nil)
throw :success, changes.to_h
end