Phoenix.Router.NoRouteError at GET /fakty-o-raduzhke
no route found for GET /fakty-o-raduzhke (IrisWeb.Router)
No code available.
IrisWeb.Router.call/2 Docs iris
1  defmodule IrisWeb.Endpoint do
2  use Phoenix.Endpoint, otp_app: :iris
3
4  # The session will be stored in the cookie and signed,
5  # this means its contents can be read but not tampered with.
6  # Set :encryption_salt if you would also like to encrypt it.
IrisWeb.Endpoint.plug_builder_call/2 iris
No code available.
IrisWeb.Endpoint."call (overridable 3)"/2 iris
1  defmodule IrisWeb.Endpoint do
2  use Phoenix.Endpoint, otp_app: :iris
3
4  # The session will be stored in the cookie and signed,
5  # this means its contents can be read but not tampered with.
6  # Set :encryption_salt if you would also like to encrypt it.
IrisWeb.Endpoint.call/2 iris
17
18  def call(conn, {endpoint, opts}), do: do_call(conn, endpoint, opts, true)
19
20  defp do_call(conn, endpoint, opts, retry?) do
21    try do
22      endpoint.call(conn, opts)
23    rescue
24      exception in [UndefinedFunctionError] ->
25        case exception do
26          %UndefinedFunctionError{module: ^endpoint} when retry? ->
27            # Sync with the code reloader and retry once
Phoenix.Endpoint.SyncCodeReloadPlug.do_call/4 phoenix
6  def init(req, {plug, opts}) do
7    conn = @connection.conn(req)
8
9    try do
10      conn
11      |> plug.call(opts)
12      |> maybe_send(plug)
13      |> case do
14        %Plug.Conn{adapter: {@connection, %{upgrade: {:websocket, websocket_args}} = req}} = conn ->
15          {handler, state, cowboy_opts} = websocket_args
16          {__MODULE__, copy_resp_headers(conn, req), {handler, state}, cowboy_opts}
Plug.Cowboy.Handler.init/2 plug_cowboy
32-optional_callbacks([terminate/3]).
33
34-spec execute(Req, Env) -> {ok, Req, Env}
35	when Req::cowboy_req:req(), Env::cowboy_middleware:env().
36execute(Req, Env=#{handler := Handler, handler_opts := HandlerOpts}) ->
37	try Handler:init(Req, HandlerOpts) of
38		{ok, Req2, State} ->
39			Result = terminate(normal, Req2, State, Handler),
40			{ok, Req2, Env#{result => Result}};
41		{Mod, Req2, State} ->
42			Mod:upgrade(Req2, Env, Handler, State);
:cowboy_handler.execute/2 cowboy
301	end.
302
303execute(_, _, []) ->
304	ok;
305execute(Req, Env, [Middleware|Tail]) ->
306	case Middleware:execute(Req, Env) of
307		{ok, Req2, Env2} ->
308			execute(Req2, Env2, Tail);
309		{suspend, Module, Function, Args} ->
310			proc_lib:hibernate(?MODULE, resume, [Env, Tail, Module, Function, Args]);
311		{stop, _Req2} ->
:cowboy_stream_h.execute/3 cowboy
290%% to simplify the debugging of errors. The proc_lib library
291%% already adds the stacktrace to other types of exceptions.
292-spec request_process(cowboy_req:req(), cowboy_middleware:env(), [module()]) -> ok.
293request_process(Req, Env, Middlewares) ->
294	try
295		execute(Req, Env, Middlewares)
296	catch
297		exit:Reason={shutdown, _}:Stacktrace ->
298			erlang:raise(exit, Reason, Stacktrace);
299		exit:Reason:Stacktrace when Reason =/= normal, Reason =/= shutdown ->
300			erlang:raise(exit, {Reason, Stacktrace}, Stacktrace)
:cowboy_stream_h.request_process/3 cowboy
No code available.
:proc_lib.init_p_do_apply/3 stdlib
Request info
URI:
http://iris-test.ru:80/fakty-o-raduzhke
Query string:
Headers
accept
*/*
host
iris-test.ru
user-agent
claudebot