Exception: Dry::Transaction::Extra::Steps::Maybe::DSL::NoValidatorError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Dry::Transaction::Extra::Steps::Maybe::DSL::NoValidatorError
- Defined in:
- lib/dry/transaction/extra/steps/maybe.rb
Instance Method Summary collapse
-
#initialize(txn) ⇒ NoValidatorError
constructor
A new instance of NoValidatorError.
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 |