MCPcopy
hub / github.com/dropzone/dropzone / _errorProcessing

Method _errorProcessing

src/dropzone.js:1680–1694  ·  view source on GitHub ↗
(files, message, xhr)

Source from the content-addressed store, hash-verified

1678 // Called internally when processing is finished.
1679 // Individual callbacks have to be called in the appropriate sections.
1680 _errorProcessing(files, message, xhr) {
1681 for (let file of files) {
1682 file.status = Dropzone.ERROR;
1683 this.emit("error", file, message, xhr);
1684 this.emit("complete", file);
1685 }
1686 if (this.options.uploadMultiple) {
1687 this.emit("errormultiple", files, message, xhr);
1688 this.emit("completemultiple", files);
1689 }
1690
1691 if (this.options.autoProcessQueue) {
1692 return this.processQueue();
1693 }
1694 }
1695
1696 static uuidv4() {
1697 return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(

Callers 2

addFileMethod · 0.95
_handleUploadErrorMethod · 0.95

Calls 2

processQueueMethod · 0.95
emitMethod · 0.80

Tested by

no test coverage detected