aboutsummaryrefslogtreecommitdiff
path: root/template/typescript/snip-trycatch.ts
diff options
context:
space:
mode:
Diffstat (limited to 'template/typescript/snip-trycatch.ts')
-rw-r--r--template/typescript/snip-trycatch.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/template/typescript/snip-trycatch.ts b/template/typescript/snip-trycatch.ts
new file mode 100644
index 0000000..9d8b2de
--- /dev/null
+++ b/template/typescript/snip-trycatch.ts
@@ -0,0 +1,5 @@
+try {
+ {{_cursor_}}
+} catch ({{_input_:error}}) {
+
+}