You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iex(2)> try do
...(2)> raise "oops"
...(2)> rescue
...(2)> _exception ->
...(2)> reraise FunctionClauseError, [module: Foo, function: :foo, arity: 2, args: [1, 2]], __STACKTRACE__
...(2)> end
** (FunctionClauseError) no function clause matching in Foo.foo/2
The following arguments were given to Foo.foo/2:
# 1
1
# 2
2
The following arguments were given to Foo.foo/2:
# 1
1
# 2
2
Expected behavior
** (FunctionClauseError) no function clause matching in Foo.foo/2
The following arguments were given to Foo.foo/2:
# 1
1
# 2
2
The text was updated successfully, but these errors were encountered:
eksperimental
changed the title
reraise with FunctionClauseError generated a duplicated message
reraise with FunctionClauseError generates a duplicated message
Apr 21, 2021
Environment
Current behavior
Expected behavior
The text was updated successfully, but these errors were encountered: