IXR_Server::error( $error,  $message = false )

In this article

Source

function error($error, $message = false)
{
    // Accepts either an error object or an error code and message
    if ($message && !is_object($error)) {
        $error = new IXR_Error($error, $message);
    }

    $this->output($error->getXml());
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.