structure for reporting parser errors
Methods
Included Modules
Attributes
| [R] | lastargs |
Instance Public methods
errorCode()
Link
I4 errorCode the error code
Source: show
# File ext/win32ole/sample/xml.rb, line 4556 def errorCode() ret = _getproperty(0, [], []) @lastargs = WIN32OLE::ARGV ret end
filepos()
Link
I4 filepos the absolute file position in the XML document containing the error
Source: show
# File ext/win32ole/sample/xml.rb, line 4604 def filepos() ret = _getproperty(184, [], []) @lastargs = WIN32OLE::ARGV ret end
line()
Link
I4 line the line number in the XML document where the error occurred
Source: show
# File ext/win32ole/sample/xml.rb, line 4588 def line() ret = _getproperty(182, [], []) @lastargs = WIN32OLE::ARGV ret end
linepos()
Link
I4 linepos the character position in the line containing the error
Source: show
# File ext/win32ole/sample/xml.rb, line 4596 def linepos() ret = _getproperty(183, [], []) @lastargs = WIN32OLE::ARGV ret end
reason()
Link
BSTR reason the cause of the error
Source: show
# File ext/win32ole/sample/xml.rb, line 4572 def reason() ret = _getproperty(180, [], []) @lastargs = WIN32OLE::ARGV ret end