Given an operation like
class MyOperation < Trailblazer::Operation
step :do_a!
step :do_b!
def do_a(options, **)
false
end
def do_b(options, **)
true
end
end
and the result of run(MyOperation)
, how can I tell which step of the operation failed?
If the result object doesn't contain this info by default, what's a good way to add it?