my-emacs-d/elpa/yasnippet-20161022.646/snippets/scala-mode/try

11 lines
190 B
Plaintext
Raw Normal View History

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