Dry-transaction: Better error for a missing step


If I don’t describe a step, I get: NameError: undefined method call for class NilClass

because method(:call) in #arity is called on nil:

I think, would be better to raise a more descriptive error in this case.


@fenec what do you mean when you do “not describe a step”.

Is missing from the container or no method is defined in the class?


method is not defined in the class