google-chromeerror-code

Chrome Fail Error Codes


I've been searching for a while now and I can't find the exact list of all fail to load error code/error description of google chrome.

I'm talking about this the highlighted text

enter image description here

Can someone give me a link?


Solution

  • I did some digging and I must admit, it's not easy to find a full exhaustive list of all (Chromium) networking error codes.

    The full list of all Chromium error codes can be found in the file net_error_list.h: https://cs.chromium.org/chromium/src/net/base/net_error_list.h

    It looks like Google Chrome prepends ERR_ to all the codes listed in the above list.

    However, error codes in XHR error responses are slightly different. These codes follow the format of the linux system file errno.h as defined by POSIX.1-2001, or C99: http://man7.org/linux/man-pages/man3/errno.3.html

    Finally, some common NodeJS errors have been listed at the NodeJS API Documentation: https://nodejs.org/api/errors.html#errors_common_system_errors

    I'd like to end this answer with a simple comparison example. The error of an operation timeout would be named as follows by the listed 'standards':

    Using your example: