dimanche 27 novembre 2016

How to handle net::ERR_ADDRESS_UNREACHABLE net::ERR_NETWORK_CHANGED using javascript

While using xhrHttpRequest object, I am registering error, onerror, upload.onerror event handlers to catch various error. But these two errors: net::ERR_ADDRESS_UNREACHABLE net::ERR_NETWORK_CHANGED net::ERR_FILE_NOT_FOUND

are not being caught in the catch block. please help, my requirement is to give specific error in case of file upload,




Aucun commentaire:

Enregistrer un commentaire