Exception: XmlSpec::XmlSyntaxError

Inherits:
Error
  • Object
show all
Defined in:
lib/xml_spec/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(e = nil) ⇒ XmlSyntaxError

Returns a new instance of XmlSyntaxError.



7
8
9
10
# File 'lib/xml_spec/errors.rb', line 7

def initialize( e=nil )
  super e
  set_backtrace e.backtrace if e
end

Instance Method Details

#to_sObject



12
13
14
# File 'lib/xml_spec/errors.rb', line 12

def to_s
  "Invalid XML"
end