Exception: TagOptions::Errors::NotHashError

Inherits:
TagOptions::Error show all
Defined in:
lib/tag_options/errors/not_hash_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(key, *keys, type:) ⇒ NotHashError

Returns a new instance of NotHashError.



6
7
8
9
# File 'lib/tag_options/errors/not_hash_error.rb', line 6

def initialize(key, *keys, type:)
  hash_path = [key, *keys].join("=>")
  super("unsupport type `#{type}` is already located at #{hash_path}")
end