Chrome失败错误代码 [英] Chrome Fail Error Codes
问题描述
我一直在寻找一段时间,我无法找到所有未能加载错误代码/ google chrome错误描述的确切列表。
我正在讨论这是突出显示的文字
有人可以给我一个链接吗?
我做了一些挖掘,我必须承认,找到所有(Chromium)网络错误代码的完整详尽列表并不容易。 / p>
所有Chromium错误代码的完整列表可以在 net_error_list.h
中找到:
< a href =https://cs.chromium.org/chromium/src/net/base/net_error_list.h =noreferrer> https://cs.chromium.org/chromium/src/net/base/ net_error_list.h
看起来谷歌浏览器在列出的所有代码中预加载 但是,XHR错误响应中的错误代码略有不同。这些代码遵循POSIX.1-2001定义的linux系统文件 最后,在NodeJS API文档中列出了一些常见的NodeJS错误: 我想用一个简单的比较例子结束这个答案。 使用您的示例: 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 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 It looks like Google Chrome prepends However, error codes in XHR error responses are slightly different. These codes follow the format of the linux system file 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 Using your example: 这篇关于Chrome失败错误代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! ERR _
在上面的列表中/ strong>
errno.h
的格式,或者C99:
http://man7.org/linux/man-pages/man3/errno.3.html
https://nodejs.org/api/errors.html#errors_common_system_errors
操作超时
的错误将按照列出的标准命名如下:
ERR_TIMED_OUT
显示在Google Chrome中 error.code
)中,
ETIMEDOUT
。
CONNECTION_REFUSED
- >内部使用Chromium
ERR_CONNECTION_REFUSED
- > / li>
ECONNREFUSED
- >在linux(POSIX.1)或网络错误堆栈中
I'm talking about this the highlighted text
Can someone give me a link?net_error_list.h
:
https://cs.chromium.org/chromium/src/net/base/net_error_list.hERR_
to all the codes listed in the above list.errno.h
as defined by POSIX.1-2001, or C99:
http://man7.org/linux/man-pages/man3/errno.3.htmloperation timeout
would be named as follows by the listed 'standards':
TIMED_OUT
internally in Chromium.ERR_TIMED_OUT
displayed in Google Chrome.ETIMEDOUT
in the XHR error object (error.code
).
CONNECTION_REFUSED
-> internally in ChromiumERR_CONNECTION_REFUSED
-> displayed in Google ChromeECONNREFUSED
-> in linux (POSIX.1) or network error stacks