We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c211861 commit 1fed203Copy full SHA for 1fed203
lib/elixir/lib/exception.ex
@@ -1997,8 +1997,10 @@ defmodule Protocol.UndefinedError do
1997
1998
@impl true
1999
def message(%{protocol: protocol, value: value, description: description}) do
2000
- "protocol #{inspect(protocol)} not implemented for type " <> value_type(value) <>
2001
- maybe_description(description) <> maybe_available(protocol) <>
+ "protocol #{inspect(protocol)} not implemented for type " <>
+ value_type(value) <>
2002
+ maybe_description(description) <>
2003
+ maybe_available(protocol) <>
2004
"\n\nGot value: #{inspect(value, pretty: true)}"
2005
end
2006
0 commit comments