Hi guys. Im curious how errors are handled in the nodejs package. I thought every call would throw errors, but it seems with documents().import it can return errors. So i just want to clarify, is import the only call that returns errors, and most all others throw errors?
f
Fanis Tharropoulos
02/25/2025, 3:48 PM
The import function will throw if any of the document import operations aren't successful. We don't return any errors as values, every function throws an error depending on its response http code