chrisben / imgcache.js

JS library based on the File API to cache images for offline recovery (target: cordova/phonegap & chrome)
Other
826 stars 216 forks source link

ERROR: Failed to remove file due to 8 #202

Open Defcon0 opened 7 years ago

Defcon0 commented 7 years ago

Hello,

when manually removing files from cache, I sometimes get the above error message. Unfortunately I can't find an explanation for the error code "8" in the JS file or the documentation.

Any help on this is highly appreciated!

Bye Defcon0

rhyslbw commented 7 years ago

@Defcon0 It's a DOMException coming from the getFile call, imgcache is just passing it through.

name: NotFoundError message "A requested file or directory could not be found at the time an operation was processed."