fix: dialyzer & bad func spec

This commit is contained in:
DDDHuang 2022-03-17 14:57:42 +08:00
parent 4d4348759d
commit b9b5e376a6
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ reason2resp(R) ->
return_http_error(400, Msg)
end.
-spec return_http_error(integer(), any()) -> {integer(), binary()}.
-spec return_http_error(integer(), any()) -> {integer(), atom(), binary()}.
return_http_error(Code, Msg) ->
{Code, codestr(Code), emqx_gateway_utils:stringfy(Msg)}.