trailblazer-endpoint
trailblazer-endpoint copied to clipboard
FR: default failure endpoint matcher
In a completely custom operation that uses neither Contract nor Policy but where a step returns false, it's easy not to end up in any of the default endpoints.
In other words, just like the success endpoint only tests for result.success?
, there should be an endpoint that only tests for result.failure?