Web console error not being caught

Dear Members,

While working on file upload modules, I got net:: ERR_FILE_NOT_FOUND in web console of Chrome, I tried all ways but I could not find any way to handle this error and many more like these using Ember or javascript viz: ERR_ADDRESS_UNREACHABLE, ERR_NETWORK_CHANGED Please tell a way to handle these errors in Ember or Javascript, as per our requirement we need to show actual reason behind “Upload” failed.