Plug-able result objects
fnordfish opened this issue · comments
Currently, there's an optional Result
object (for Operations) which wraps success or failure outputs along with a successful flag. Chains depend on that object to figure out if a step (operation) was successful or not, and thus if the next step should be executed. Chain wrap a failure Results again in a StepFailure
which additionally hold the name of the step that failed.
As suggested in #6 (comment), it would be nice if the Result
object would be a easily interchangeable.