Exception: Dry::Transaction::Extra::Steps::Maybe::DSL::NoValidatorError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/dry/transaction/extra/steps/maybe.rb

Instance Method Summary collapse

Constructor Details

#initialize(txn) ⇒ NoValidatorError

Returns a new instance of NoValidatorError.



10
11
12
# File 'lib/dry/transaction/extra/steps/maybe.rb', line 10

def initialize(txn)
  super "The object provided to the step (#{txn}) does not implement a `validator` method."
end