Documentation

LibXMLException extends ParseException
in package

This exception is thrown when the Readers runs into a parsing error.

This exception effectively wraps 1 or more LibXMLError objects.

Tags
copyright

Copyright (C) 2009-2015 fruux GmbH (https://fruux.com/).

author

Evert Pot (http://evertpot.com/)

license

http://sabre.io/license/ Modified BSD License

Table of Contents

$errors  : array<string|int, LibXMLError>
The error list.
__construct()  : mixed
Creates the exception.
getErrors()  : array<string|int, mixed>
Returns the LibXML errors.

Properties

$errors

The error list.

protected array<string|int, LibXMLError> $errors

Methods

__construct()

Creates the exception.

public __construct(array<string|int, LibXMLError$errors, int $code[, Throwable $previousException = null ]) : mixed

You should pass a list of LibXMLError objects in its constructor.

Parameters
$errors : array<string|int, LibXMLError>
$code : int
$previousException : Throwable = null
Return values
mixed

getErrors()

Returns the LibXML errors.

public getErrors() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results