Definition at line 5 of file UnparseableXmlException.php.
◆ __construct()
SAML2\Exception\UnparseableXmlException::__construct |
( |
\LibXMLError |
$error | ) |
|
Definition at line 13 of file UnparseableXmlException.php.
14 {
16 'Unable to parse XML - "%s[%d]": "%s" in "%s" at line %d on column %d"',
17 static::$levelMap[$error->level],
18 $error->code,
19 $error->message,
20 $error->file ?: '(string)',
21 $error->line,
22 $error->column
23 );
24
26 }
catch(Exception $e) $message
References $message.
◆ $levelMap
SAML2\Exception\UnparseableXmlException::$levelMap |
|
staticprivate |
Initial value:= array(
LIBXML_ERR_WARNING => 'WARNING',
LIBXML_ERR_ERROR => 'ERROR',
LIBXML_ERR_FATAL => 'FATAL'
)
Definition at line 7 of file UnparseableXmlException.php.
The documentation for this class was generated from the following file: