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 } }