Exception: Plurimath::Errors::Evaluation::InvalidBindingKeyError

Inherits:
Error show all
Defined in:
lib/plurimath/errors/evaluation/invalid_binding_key_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(key) ⇒ InvalidBindingKeyError

Returns a new instance of InvalidBindingKeyError.



7
8
9
10
# File 'lib/plurimath/errors/evaluation/invalid_binding_key_error.rb', line 7

def initialize(key)
  super("wrong type for binding key " \
        "(given #{key.class}, expected String or Symbol)")
end