blob: 0c33f1072b410462ae8240f87a70c34b5636ebcf (
plain) (
tree)
|
|
#Author : Jonas Bonèr <jonas@jonasboner.com>
#name : try { .. } catch { case e => ..}
# --
try {
$0
} catch {
case ${1:e}: ${2:Exception} =>
${1:println(\"ERROR: \" + e) // TODO: handle exception}\n}
}
|