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