Verified Commit 0ee75892 authored by Nicolas's avatar Nicolas

Add missing status code

parent 051fdad4
......@@ -55,6 +55,7 @@ defmodule PlasmaWeb.Errors do
@spec status_code(error) :: integer
defp status_code(:m_user_in_use), do: 400
defp status_code(:m_invalid_username), do: 400
defp status_code(:m_invalid_room_state), do: 400
defp status_code({:m_missing_arg, _}), do: 400
defp status_code({:m_bad_type, _}), do: 400
defp status_code(:m_unknown), do: 400
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment