$view = null; try { $view = $route->call(); } catch (Exception $»e) { $_ex_ = $»e instanceof HException ? $»e->e : $»e; if (is_int($code = $_ex_)) { haxe_Log::trace("CODE:" . Std::string($code), _hx_anonymous(array("fileName" => "Base.hx", "lineNumber" => 76, "className" => "sinatra.Base", "methodName" => "run"))); } else { if (is_string($err = $_ex_)) { haxe_Log::trace("ERR:" . $err . " stack: " . haxe_Stack::toString(haxe_Stack::exceptionStack()), _hx_anonymous(array("fileName" => "Base.hx", "lineNumber" => 78, "className" => "sinatra.Base", "methodName" => "run"))); } else { $other = $_ex_; haxe_Log::trace("WARN:" . Std::string($other), _hx_anonymous(array("fileName" => "Base.hx", "lineNumber" => 80, "className" => "sinatra.Base", "methodName" => "run"))); } } } if ($view !== null) { $view->render(); } return 0; } function __toString() { return 'sinatra.Base'; } } sinatra_Base::$_routes = new sinatra_utils_EnumHash(); sinatra_Base::$_routes->set(sinatra_HTTPMethod::$GET, new HList()); sinatra_Base::$_routes->set(sinatra_HTTPMethod::$POST, new HList()); sinatra_Base::$_routes->set(sinatra_HTTPMethod::$PUT, new HList()); sinatra_Base::$_routes->set(sinatra_HTTPMethod::$DELETE, new HList());