Open joprice opened 4 months ago
By default, calling abort on an AbortController results in an error with signal is aborted without reason. There is an overload of abort that allows providing a more informative reason for the cancellation: https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/abort_static#reason
abort
AbortController
signal is aborted without reason
I suppose it should be of the type obj?
obj
The reason why the operation was aborted, which can be any JavaScript value
By default, calling
abort
on anAbortController
results in an error withsignal is aborted without reason
. There is an overload of abort that allows providing a more informative reason for the cancellation: https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/abort_static#reason