summaryrefslogtreecommitdiffhomepage
path: root/elixir.html.markdown
diff options
context:
space:
mode:
authorbk2dcradle <ankitsultana@gmail.com>2016-01-05 13:34:10 +0530
committerbk2dcradle <ankitsultana@gmail.com>2016-01-05 13:34:10 +0530
commit0e3ed9579b296e276741f06afe8e0a9834672b9e (patch)
treed01a82820ee8a7fb41583cdbf9119583d3fe8004 /elixir.html.markdown
parenta5730e4ab931b8355704d35ee08acef75435bd83 (diff)
parent4dc5eeda5528047ece4f5798cff6961b0bc21dcb (diff)
Reset to Adambard's
Diffstat (limited to 'elixir.html.markdown')
-rw-r--r--elixir.html.markdown2
1 files changed, 2 insertions, 0 deletions
diff --git a/elixir.html.markdown b/elixir.html.markdown
index eedeb227..720e080c 100644
--- a/elixir.html.markdown
+++ b/elixir.html.markdown
@@ -343,6 +343,7 @@ rescue
RuntimeError -> "rescued a runtime error"
_error -> "this will rescue any error"
end
+#=> "rescued a runtime error"
# All exceptions have a message
try do
@@ -351,6 +352,7 @@ rescue
x in [RuntimeError] ->
x.message
end
+#=> "some error"
## ---------------------------
## -- Concurrency