Exception: Dry::Transaction::MissingCatchListError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Dry::Transaction::MissingCatchListError
- Defined in:
- lib/dry/transaction/errors.rb
Instance Method Summary collapse
-
#initialize(step_name) ⇒ MissingCatchListError
constructor
A new instance of MissingCatchListError.
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 |