Exception: Dry::Guards::NotMatched

Inherits:
StandardError
  • Object
show all
Defined in:
lib/dry/errors/not_matched.rb

Instance Method Summary collapse

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