ErrorHandler: ((exception: Error, cause?: string) => void)

Type declaration

    • (exception, cause?): void
    • Parameters

      • exception: Error

        Exception associated with the error.

      • Optionalcause: string

        Optional information about the context in which the error was thrown.

      Returns void