catch-error-decorator (npm): Method or function decorator. You have pass the parameters to call catchFunction on error by throw function, u can prevent throw error from function and log it in catchFunction, if you want
Keywords: catch|decorators|error-handling|es7-decorators|javascript|typescript