For the complete documentation index, see llms.txt. This page is also available as Markdown.

uploadError

Error during the file upload flow.

Details

It is emitted when an error occurs in the widget's operation.

Event: uploadError

Type: FacephiFileUploaderWidgetCustomEvent<UploadErrorDetail> | CustomEvent<UploadErrorDetail>

Syntax

uploader.addEventListener('uploadError', onUploadError);

Received object

The payload is of type UploadErrorDetail and is in event.detail:

  • eventType (string): Type of emitted event.

  • message (string): Error description.

Description

Reports the error produced during file upload or validation.


Example

Last updated