eZ\Publish\Core\FieldType\RichText\XmlBase::formatLibXmlError PHP Method

formatLibXmlError() protected method

Example: Error in 6:0: Expecting an element title, got nothing
protected formatLibXmlError ( LibXMLError $error ) : string
$error LibXMLError
return string
    protected function formatLibXmlError(LibXMLError $error)
    {
        return sprintf('%s in %d:%d: %s', $this->errorTypes[$error->level], $error->line, $error->column, trim($error->message));
    }