Exception: TagOptions::Errors::NotHashError
- Inherits:
-
TagOptions::Error
- Object
- StandardError
- TagOptions::Error
- TagOptions::Errors::NotHashError
- Defined in:
- lib/tag_options/errors/not_hash_error.rb
Instance Method Summary collapse
-
#initialize(key, *keys, type:) ⇒ NotHashError
constructor
A new instance of NotHashError.
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 |