Ham::page_not_found PHP Method

page_not_found() protected method

Called upon when 404 is deduced to be the only outcome
protected page_not_found ( )
    protected function page_not_found()
    {
        if (isset($this->errorFunc)) {
            header("HTTP/1.0 404 Not Found");
            return call_user_func($this->errorFunc);
            // Dev defined Error
        } else {
            return static::abort(404);
            // Generic Error
        }
    }