Exception: Yast::XMLDeserializationError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Yast::XMLDeserializationError
- Defined in:
- library/xml/src/modules/XML.rb
Overview
Exception used when parsing a XML string:
- syntax error (Nokogiri::XML::SyntaxError is reraised as this)
- cannot be represented as Ruby data
Class Method Summary collapse
Class Method Details
.for_node(node, message) ⇒ Object
47 48 49 |
# File 'library/xml/src/modules/XML.rb', line 47 def self.for_node(node, ) new("Element <#{node.name}> at line #{node.line}: #{}") end |