AttachmentErrorHandler constructor
const
AttachmentErrorHandler({
- required AttachmentExceptionHandler onDeleteError,
- required AttachmentExceptionHandler onDownloadError,
- 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;