Type Alias ErrorCallback

ErrorCallback: ((error: unknown) => void)

A callback handling an error.

Type declaration

    • (error): void
    • Parameters

      • error: unknown

        An error.

      Returns void