my-emacs-d/elpa/yasnippet-20161022.646/snippets/scala-mode/try
2016-10-24 08:30:06 +02:00

11 lines
190 B
Plaintext

# -*- mode: snippet -*-
#Author : Sam Halliday
#name : try { .. } catch { case e => ..}
# key: try
# --
try {
$0
} catch {
case e: ${1:Throwable} =>
${2:// TODO: handle exception}
}