Commit bf37dce
committed
Add rescue to support streamline error handling
This implements inline `rescue` like those in Ruby [1], but more powerful
in that users can specify the exception to be handled.
The `rescue` method will be very convenient in scripting.
[1] https://stackoverflow.com/questions/15396791/ruby-oneline-rescue1 parent 0ebbcff commit bf37dce
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments