localstorage-retry icon indicating copy to clipboard operation
localstorage-retry copied to clipboard

Pass the error object to discard event

Open saidur2k opened this issue 5 years ago • 0 comments

Presently, the discard event is only passing the number of attempts and the original item.

This PR passes the error object which is used in the requeue callback. This will allow consumers of the library to peak into the error and implement custom logic if they require.

saidur2k avatar Dec 31 '19 03:12 saidur2k