Jump to content

Exceptions/Catch an exception thrown in a nested call: Difference between revisions

→‎{{header|Elixir}}: version up (display message)
(→‎{{header|Elixir}}: version up (display message))
Line 914:
<pre>
U0 rescued
** (U1) got nil while retrieving Exception.message/1 for %U1{message: nil} (expected a string)
** (EXIT from #PID<0.48.0>) an exception was raised:
ExceptionsTest.exs:18: ExceptionsTest.baz/1
** (ArgumentError) argument error
ExceptionsTest.exs:8: anonymous fn/1 in ExceptionsTest.foo/0
:erlang.byte_size(nil)
(elixir) lib/exceptionenum.ex:106645: ExceptionEnum.format_banner"-each/2-lists^foreach/1-0-"/32
(elixir) lib/exceptionenum.ex:141645: ExceptionEnum.formateach/32
(elixir) lib/kernel/clicode.ex:113370: Kernel.CLICode.print_errorrequire_file/32
(elixir) lib/kernel/cli.ex:83: anonymous fn/3 in Kernel.CLI.exec_fun/2
</pre>
displayed message in version 1.4
 
=={{header|Erlang}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.