onDeleteError abstract method
Determines whether the provided attachment delete operation should be retried.
attachment
The attachment involved in the failed delete operation.
exception
The exception that caused the delete failure.
stackTrace
The StackTrace when the exception was caught.
Returns true
if the delete operation should be retried, false
otherwise.
Implementation
Future<bool> onDeleteError(
Attachment attachment,
Object exception,
StackTrace stackTrace,
);