use terr instead of te to throw error
This commit is contained in:
parent
b773523c30
commit
eaaac3ab35
@ -90,7 +90,7 @@ snippet tryf
|
||||
${3:/* be executed regardless of the try / catch result*/}
|
||||
}
|
||||
# throw Error
|
||||
snippet te
|
||||
snippet terr
|
||||
throw new Error('${1:error message}')
|
||||
# return
|
||||
snippet ret
|
||||
|
Loading…
Reference in New Issue
Block a user