Habari\XMLRPCException::__construct PHP Method

__construct() public method

The exception constructor, called to create this excpetion
public __construct ( integer $code, string $message = null )
$code integer The error code to produce
$message string Optional The message to display with the error
    public function __construct($code, $message = null)
    {
        // make sure everything is assigned properly
        if (empty($message)) {
            $message = $this->get_message($code);
        }
        parent::__construct($message, $code);
    }