use terr instead of te to throw error

This commit is contained in:
dengyaolong 2015-08-25 18:59:47 +08:00
parent b773523c30
commit eaaac3ab35

View File

@ -90,7 +90,7 @@ snippet tryf
${3:/* be executed regardless of the try / catch result*/} ${3:/* be executed regardless of the try / catch result*/}
} }
# throw Error # throw Error
snippet te snippet terr
throw new Error('${1:error message}') throw new Error('${1:error message}')
# return # return
snippet ret snippet ret