confi-emacs-actual/snippets/scala-mode/try
2022-03-29 19:21:13 -04:00

9 lines
170 B
Plaintext

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