my-emacs-d/elpa/yasnippet-20160924.2001/snippets/scala-mode/try
2016-10-20 10:27:10 +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}
}