onDeleteError

abstract suspend fun onDeleteError(attachment: Attachment, exception: Exception): Boolean

Determines whether the provided attachment delete operation should be retried.

Return

true if the delete operation should be retried, false otherwise.

Parameters

attachment

The attachment involved in the failed delete operation.

exception

The exception that caused the delete failure.