DocParseError is thrown when an error occurs while parsing a document.
XXX should be derived from StdError.FileParseError
def __init__(self, txt, src = None, blk = None):
Constructs a DocParseError.
exception text
Source file. Used to provide error location information.
Block that the exception was thrown during the parsing of (used to provide a block start location.
def __str__(self):
Formats the receiver as a string. The string form of a block is the members of the block seperated by whitespace. No leading or trailing whitespace is appended, all nested blocks are recursively converted to strings.