Exception: Dry::Transaction::InvalidResultError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/dry/transaction/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(step_name) ⇒ InvalidResultError

Returns a new instance of InvalidResultError.



18
19
20
# File 'lib/dry/transaction/errors.rb', line 18

def initialize(step_name)
  super("step +#{step_name}+ must return a Result object")
end