errorCallback: ((error?: Types.ErrorInfo | null) => void)

Type declaration

    • (error?: Types.ErrorInfo | null): void
    • A callback which returns only an error, or null, when complete.

      Parameters

      • Optional error: Types.ErrorInfo | null

        The error if the request failed, or null not.

      Returns void

Generated using TypeDoc