Exception: Envandle::IllegalElement

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/envandle/illegal_element.rb

Instance Method Summary collapse

Constructor Details

#initialize(loc) ⇒ IllegalElement

Returns a new instance of IllegalElement.

Raises:

  • (self)


3
4
5
6
# File 'lib/envandle/illegal_element.rb', line 3

def initialize(loc, *)
  super "Illegal element: #{type} (#{loc})"
  raise self
end