Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExceptionsZone

Hierarchy

  • ExceptionsZone

Index

Properties

Methods

Properties

Static Private Readonly exceptionHandler

exceptionHandler: ExceptionHandler = new ExceptionHandler()

Methods

Static asyncRun

  • asyncRun(callback: () => Promise<void>, teardown?: (err: any) => void): Promise<void>
  • Parameters

    • callback: () => Promise<void>
        • (): Promise<void>
        • Returns Promise<void>

    • Default value teardown: (err: any) => void = DEFAULT_TEARDOWN
        • (err: any): void
        • Parameters

          • err: any

          Returns void

    Returns Promise<void>

Static run

  • run(callback: () => void, teardown?: (err: any) => void): void
  • Parameters

    • callback: () => void
        • (): void
        • Returns void

    • Default value teardown: (err: any) => void = DEFAULT_TEARDOWN
        • (err: any): void
        • Parameters

          • err: any

          Returns void

    Returns void

Generated using TypeDoc