PHP Class XML_Parser_Error
An instance of this class will be returned
if an error occurs inside XML_Parser.
There are three advantages over using the standard PEAR_Error:
- All messages will be prefixed
- check for XML_Parser error, using ( $error instanceof XML_Parser_Error )
- messages can be generated from the xml_parser resource
Show file
Open project: sourcefabric/newscoop
Public Properties
Public Methods
Method Details
XML_Parser_Error()
public method
You may either pass a message or an xml_parser resource as first
parameter. If a resource has been passed, the last error that
happened will be retrieved and returned.
Property Details
$error_message_prefix public property
public string $error_message_prefix |
return |
string |
|