Exception: Dry::Transaction::MissingCatchListError

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

Instance Method Summary collapse

Constructor Details

#initialize(step_name) ⇒ MissingCatchListError

Returns a new instance of MissingCatchListError.



24
25
26
# File 'lib/dry/transaction/errors.rb', line 24

def initialize(step_name)
  super("step +#{step_name}+ requires one or more exception classes provided via +catch:+")
end