core: remove unused exception
This commit is contained in:
parent
7904476321
commit
7b794e77fd
1 changed files with 0 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue