trycatch icon indicating copy to clipboard operation
trycatch copied to clipboard

Separate guarding functionality into base module

Open CrabDude opened this issue 11 years ago • 2 comments

There are 4 parts to trycatch:

  • Fixing callback context (EE handlers at time of listen vs at construction)
  • Guarding core from userland errors and fixing
  • Long-stack-traces
  • Async try/catch

trycatch should be refactored into the separate modules, with trycatch at the top of the abstraction stack.

Perhaps, Error.longStackTraces should be used instead of trycatch.configure.

CrabDude avatar Apr 14 '14 19:04 CrabDude

:+1:

Raynos avatar Jul 17 '14 00:07 Raynos

I'll do this sometime soon since I'm working on my own company now.

CrabDude avatar Jul 17 '14 01:07 CrabDude