Class: ActiveSanction::Parsers::XmlRecords::MalformedDocument
- Inherits:
-
ParseError
- Object
- ActiveSanction::Parsers::XmlRecords::MalformedDocument
- Defined in:
- lib/active_sanction/parsers/xml_records.rb
Overview
Raised by a backend when the payload stops being XML. Caught by Reader, which decides between salvaging the records already read and refusing the payload outright; it escapes as a ParseError either way, so a caller rescuing the toolkit's errors does not have to know about it.
line is ParseError's, and is nil where the backend reports no
position -- libxml2 does not always.