432967bd76
A DirectUpload may fail for several reasons, and return many types of errors (string, xhr response, Error objects, etc). For convenience, wrap all these errors in a FileUploadError object. - It makes easier for clients of the Uploader class to handle errors; - It allows to propagate the error code and failure responsability. |
||
---|---|---|
.. | ||
file-upload-error.js | ||
progress-bar.js | ||
ujs.js | ||
uploader.js |