core: remove unused exception

This commit is contained in:
Marcel Otto 2017-06-10 21:50:49 +02:00
parent 7904476321
commit 7b794e77fd

View file

@ -46,15 +46,3 @@ end
defmodule RDF.Namespace.UndefinedTermError do
defexception [:message]
end
defmodule RDF.InvalidRepoURLError do
defexception [:message, :url]
def exception(opts) do
url = Keyword.fetch!(opts, :url)
msg = Keyword.fetch!(opts, :message)
msg = "invalid url #{url}, #{msg}"
%__MODULE__{message: msg, url: url}
end
end