8 lines
116 B
Plaintext
8 lines
116 B
Plaintext
# -*- mode: snippet -*-
|
|
# name: try-catch block
|
|
# --
|
|
try {
|
|
`%`$0
|
|
} catch (${1:err}) {
|
|
${2:// Do something}
|
|
} |