ErrorCallback: ((operation: Operation, error: unknown, path?: string) => void)

Type declaration

    • (operation: Operation, error: unknown, path?: string): void
    • Callback invoked when a non-retriable error occurs or retries are exhausted.

      Parameters

      • operation: Operation

        the operation that failed

      • error: unknown

        the encountered error

      • Optional path: string

        optional filesystem path related to the operation

      Returns void

Generated using TypeDoc