projects
/
fur
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Capture stderr in integration tests
[fur]
/
examples
/
future
/
33_except.fur
1
def throws() do
2
try
3
42 // 0
4
except(DivisionByZeroError)
5
print('This should print\n')
6
42
7
end
8
end
9
10
variable = throws()
11
12
print('This should also print\n')
13
print('This should be 42: ', variable, '\n')