# -*- mode: snippet; require-final-newline: nil -*-
|
|
# name: try...catch statement
|
|
# key: try
|
|
# --
|
|
try {
|
|
$1
|
|
} catch (err) {
|
|
$2
|
|
}${3: finally {
|
|
$4
|
|
}}
|