aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_rest.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_rest.erl')
-rw-r--r--src/cowboy_rest.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cowboy_rest.erl b/src/cowboy_rest.erl
index cf24050..0ca9ec0 100644
--- a/src/cowboy_rest.erl
+++ b/src/cowboy_rest.erl
@@ -972,6 +972,7 @@ next(Req, State, StatusCode) when is_integer(StatusCode) ->
respond(Req, State, StatusCode) ->
terminate(cowboy_req:reply(StatusCode, Req), State).
+-spec error_terminate(cowboy_req:req(), #state{}, atom(), any(), atom()) -> no_return().
error_terminate(Req, #state{handler=Handler, handler_state=HandlerState},
Class, Reason, Callback) ->
Stacktrace = erlang:get_stacktrace(),