uppy/packages/@uppy/transloadit/src
Renée Kooi 3121fae11b
transloadit: propagate error details when creating Assembly fails (#3794)
* transloadit: propagate error details when creating Assembly fails

Clients are expected to use `error.assembly` to inspect details about
failed Assemblies, but then we do need to always give that property
back.

I think we should have a test for this but not sure how to approach it,
since it depends on responses from the Transloadit API. I guess we'd
require a new e2e test for it?

* Apply suggestions from code review

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-05-30 16:50:30 +01:00
..
Assembly.js meta: prepare test files for lint rule hardening (#3761) 2022-05-23 12:02:19 +02:00
Assembly.test.js @uppy/transloadit: refactor to ESM (#3725) 2022-05-17 15:17:50 +02:00
AssemblyOptions.js @uppy/transloadit: refactor to ESM (#3725) 2022-05-17 15:17:50 +02:00
AssemblyOptions.test.js meta: prepare test files for lint rule hardening (#3761) 2022-05-23 12:02:19 +02:00
AssemblyWatcher.js @uppy/transloadit: refactor to ESM (#3725) 2022-05-17 15:17:50 +02:00
Client.js @uppy/transloadit: refactor to ESM (#3725) 2022-05-17 15:17:50 +02:00
index.js transloadit: propagate error details when creating Assembly fails (#3794) 2022-05-30 16:50:30 +01:00
index.test.js @uppy/transloadit: refactor to ESM (#3725) 2022-05-17 15:17:50 +02:00
locale.js @uppy/transloadit: refactor to ESM (#3725) 2022-05-17 15:17:50 +02:00
parseUrl.js @uppy/transloadit: refactor to ESM (#3725) 2022-05-17 15:17:50 +02:00
parseUrl.test.js @uppy/transloadit: refactor to ESM (#3725) 2022-05-17 15:17:50 +02:00