Error out early if invalid paramter is provided.

This commit is contained in:
Felipe Sere
2016-04-26 23:20:20 +01:00
parent eaf55ba897
commit 0ed061f96f
2 changed files with 14 additions and 3 deletions

View File

@@ -5,6 +5,7 @@ defmodule Tracker do
|> Enum.count
Agent.start_link(fn -> {total, MapSet.new()} end, name: __MODULE__)
modules
end
def get do