Emacs config utilizing prelude as a base
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 lines
222 B

# Author: Jonas Bonèr <jonas@jonasboner.com>
# name: try { .. } catch { case e => ..}
# key: try
# --
try {
$0
} catch {
case ${1:e}: ${2:Exception} =>
${1:println(\"ERROR: \" + e) // TODO: handle exception}\n}
}