Options
All
  • Public
  • Public/Protected
  • All
Menu

Module asyncCatch

Handle exceptions thrown in async functions.

Functions

Functions

default

  • default(route: Controller): Controller
  • Wrap an asynchronous route controller in a try/catch block.

    Parameters

    • route: Controller

      The route controller.

    Returns Controller

    The wrapped route controller.

Generated using TypeDoc