method

new

new(line=nil, element=nil)
public

Create a new NotWellFormedError for an error at line in element. If a block is given the return value of the block ends up in the error message.