38 parent::__construct(
$errors[0]->message .
' on line ' .
$errors[0]->line .
', column ' .
$errors[0]->column,
$code, $previousException);
An exception for terminatinating execution or to throw for unit testing.
This exception is thrown when the Readers runs into a parsing error.
getErrors()
Returns the LibXML errors.
__construct(array $errors, $code=null, Exception $previousException=null)
Creates the exception.
This is a base exception for any exception related to parsing xml files.