Exception: Moxml::InvalidSelectorError

Inherits:
VisitorError show all
Defined in:
lib/moxml/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, selector) ⇒ InvalidSelectorError

Returns a new instance of InvalidSelectorError.



90
91
92
93
# File 'lib/moxml/errors.rb', line 90

def initialize(message, selector)
  @selector = selector
  super("#{message} (Selector: #{selector})")
end

Instance Attribute Details

#selectorObject (readonly)

Returns the value of attribute selector.



88
89
90
# File 'lib/moxml/errors.rb', line 88

def selector
  @selector
end