retrieve error on client when using `startUpload` provided by `useUploadThing`
Hello,
I am trying to somehow obtain the error reason on the client if uploading the image fails. However, the response I get is undefined. I thought maybe i would need to return something from the
onUploadComplete callback, but this doesn't allow any returned value as its return type is void. How should I be returning error messages onto the client?
1 Reply
bump