AttachmentErrorHandler constructor

const AttachmentErrorHandler({
  1. required AttachmentExceptionHandler onDeleteError,
  2. required AttachmentExceptionHandler onDownloadError,
  3. required AttachmentExceptionHandler onUploadError,
})

Creates an implementation of an error handler by delegating to the individual functions for delete, download and upload errors.

Implementation

const factory AttachmentErrorHandler({
  required AttachmentExceptionHandler onDeleteError,
  required AttachmentExceptionHandler onDownloadError,
  required AttachmentExceptionHandler onUploadError,
}) = _FunctionBasedErrorHandler;