From: Eran Tiktin Date: Sun, 25 Oct 2015 15:00:29 +0000 (+0200) Subject: Update web-contents.md X-Git-Tag: v0.34.2~24^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=9b36abc8167af721a0128fadda04800a31a8132b;p=electron.git Update web-contents.md The `did-fail-load` event returns an error code and error description. The error description is at least sometimes empty (e.g. when the error code is -102 on Windows), so you're left with an error code without knowing what happened. So I add a link to Chromium's net_error_list.h. --- diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index 006d7e39..7633efbf 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -36,6 +36,7 @@ Returns: This event is like `did-finish-load` but emitted when the load failed or was cancelled, e.g. `window.stop()` is invoked. +The full list of error codes and their meaning is available [here](https://code.google.com/p/chromium/codesearch#chromium/src/net/base/net_error_list.h). ### Event: 'did-frame-finish-load'