Skip to content

Commit c211861

Browse files
davydog187sabiwara
andauthored
Update exception.ex
Co-authored-by: Jean Klingler <[email protected]>
1 parent 89e8d88 commit c211861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/exception.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1997,7 +1997,7 @@ defmodule Protocol.UndefinedError do
19971997

19981998
@impl true
19991999
def message(%{protocol: protocol, value: value, description: description}) do
2000-
"protocol #{inspect(protocol)} not implemented type " <> value_type(value) <>
2000+
"protocol #{inspect(protocol)} not implemented for type " <> value_type(value) <>
20012001
maybe_description(description) <> maybe_available(protocol) <>
20022002
"\n\nGot value: #{inspect(value, pretty: true)}"
20032003
end

0 commit comments

Comments
 (0)