mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
Merge pull request #60012 from benjamenhogben/master
Add throwable to php try/catch block snippet
This commit is contained in:
@@ -254,8 +254,8 @@
|
||||
"body": [
|
||||
"try {",
|
||||
"\t${1://code...}",
|
||||
"} catch (\\Exception \\$$e) {",
|
||||
"\t${2://throw $$e;}",
|
||||
"} catch (${2:\\Throwable} ${3:$$th}) {",
|
||||
"\t${4://throw $$th;}",
|
||||
"}"
|
||||
],
|
||||
"description": "Try catch block"
|
||||
|
||||
Reference in New Issue
Block a user