You are here

protected static function XmlParserTrait::getXmlErrors in Feeds 8.3

Returns the errors reported during parsing.

Return value

array An array of errors keyed by error level.

See also

libxml_get_errors()

File

src/Component/XmlParserTrait.php, line 106

Class

XmlParserTrait
Helper methods for dealing with XML documents.

Namespace

Drupal\feeds\Component

Code

protected static function getXmlErrors() {
  return static::$_errors;
}