Klimi's new dotfiles with stow.
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.

11 lines
201 B

4 years ago
  1. # -*- mode: snippet -*-
  2. # contributor: USAMI Kenta <tadsan@zonu.me>
  3. # name: try
  4. # key: try
  5. # group : control structure
  6. # --
  7. try {
  8. $0
  9. } catch (${1:\PDOException} ${2:$e}) {
  10. ${3:
  11. throw $e;}
  12. }