init
This commit is contained in:
11
snippets/swift-mode/trycatch
Normal file
11
snippets/swift-mode/trycatch
Normal file
@@ -0,0 +1,11 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: trycatch
|
||||
# key: trycatch
|
||||
# --
|
||||
do {
|
||||
try $1
|
||||
} catch $2 {
|
||||
$3
|
||||
} catch $4 {
|
||||
$5
|
||||
}
|
||||
Reference in New Issue
Block a user