IXR_Error::__construct() WordPress Method

The IXR_Error class is used for reporting errors. This class is used by the IXR class to report any errors that occur during XML-RPC method calls.

IXR_Error::__construct( $code,  $message ) #

PHP5 constructor.


Source

File: wp-includes/IXR/class-IXR-error.php

17
18
19
20
21
function __construct( $code, $message )
{
    $this->code = $code;
    $this->message = htmlspecialchars($message);
}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by the Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.