demarches-normaliennes/app/javascript/new_design/dossiers
Pierre de La Morinerie 432967bd76 javascript: make Uploader always throw the same kind of errors
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.
2020-04-16 11:20:45 +02:00
..
auto-save-controller.js javascript: move the autosave files to a sub-directory 2020-03-23 14:02:29 +01:00
auto-save.js javascript: move the autosave files to a sub-directory 2020-03-23 14:02:29 +01:00
auto-upload-controller.js javascript: make Uploader always throw the same kind of errors 2020-04-16 11:20:45 +02:00
auto-upload.js javascript: fix clicking on the icon of the auto-upload Retry button 2020-04-08 15:48:23 +02:00
auto-uploads-controllers.js dossiers: allow auto upload of attachments 2020-03-31 13:09:44 +02:00