Exception: Dry::Guards::NotMatched
- Inherits:
-
StandardError
- Object
- StandardError
- Dry::Guards::NotMatched
- Defined in:
- lib/dry/errors/not_matched.rb
Instance Method Summary collapse
-
#initialize(*args, **params, &cb) ⇒ NotMatched
constructor
A new instance of NotMatched.
Constructor Details
#initialize(*args, **params, &cb) ⇒ NotMatched
Returns a new instance of NotMatched.
4 5 6 |
# File 'lib/dry/errors/not_matched.rb', line 4 def initialize(*args, **params, &cb) super "Clause not matched. Parameters supplied: [args: #{args.inspect}, params: #{params.inspect}, cb: #{cb.inspect}]" end |