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.



16
17
18
# File 'lib/dry/transaction/errors.rb', line 16

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