Sync
This commit is contained in:
parent
6f050a029e
commit
776bba907c
3887 changed files with 59894 additions and 7280 deletions
12
Task/Exceptions/Erlang/exceptions.erl
Normal file
12
Task/Exceptions/Erlang/exceptions.erl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
-module( exceptions ).
|
||||
|
||||
-export( [task/0] ).
|
||||
|
||||
task() ->
|
||||
try
|
||||
erlang:throw( new_exception )
|
||||
|
||||
catch
|
||||
_:Exception -> io:fwrite( "Catched ~p~n", [Exception] )
|
||||
|
||||
end.
|
||||
Loading…
Add table
Add a link
Reference in a new issue