Habari\Error::__construct PHP Method

__construct() public method

Constructor for the Error class
public __construct ( string $message = 'Generic Habari Error', integer $code, boolean $is_error = false )
$message string Exception to display
$code integer Code of the exception
$is_error boolean true if the exception represents an error handled by the Error class
    public function __construct($message = 'Generic Habari Error', $code = 0, $is_error = false)
    {
        parent::__construct($message, $code);
        $this->is_error = $is_error;
    }