confi-emacs-actual/snippets/scala-mode/try

9 lines
170 B
Plaintext
Raw Permalink Normal View History

2022-03-30 01:21:13 +02:00
# -*- mode: snippet -*-
# name: try { ... } catch { case e => ... }
# --
try {
`%`$0
} catch {
case e: ${1:Throwable} =>
${2:// TODO: handle exception}
}