Table of Contents

Method OnUploadErrorAsync

Namespace
PowerSync.Common.Attachments
Assembly
PowerSync.Common.dll

OnUploadErrorAsync(Attachment, Exception)

Handles an upload error for a specific attachment.

Task<bool> OnUploadErrorAsync(Attachment attachment, Exception error)

Parameters

attachment Attachment

The attachment that failed to upload.

error Exception

The error encountered during the upload.

Returns

Task<bool>

A task that completes with true to retry the operation, or false to archive the attachment.