Exception: Moxml::XPathError
- Defined in:
- lib/moxml/errors.rb
Overview
XPath related errors
Direct Known Subclasses
Instance Attribute Summary collapse
-
#expression ⇒ Object
readonly
Returns the value of attribute expression.
Instance Method Summary collapse
-
#initialize(message, expression) ⇒ XPathError
constructor
A new instance of XPathError.
Constructor Details
#initialize(message, expression) ⇒ XPathError
Returns a new instance of XPathError.
162 163 164 165 |
# File 'lib/moxml/errors.rb', line 162 def initialize(, expression) @expression = expression super("#{} (Expression: #{expression})") end |
Instance Attribute Details
#expression ⇒ Object (readonly)
Returns the value of attribute expression.
160 161 162 |
# File 'lib/moxml/errors.rb', line 160 def expression @expression end |