IXR_Error::__constructpublicWP 1.0

PHP5 constructor.

Method of the class: IXR_Error{}

No Hooks.

Returns

null. Nothing (null).

Usage

$IXR_Error = new IXR_Error();
$IXR_Error->__construct( $code, $message );
$code(required)
.
$message(required)
.

IXR_Error::__construct() code WP 6.8.1

function __construct( $code, $message )
{
    $this->code = $code;
    $this->message = htmlspecialchars($message);
}