LoadError is the error for a page that did not load. Navigate and RunResponse return it when the browser reports an error for the request of the page, for example when the host name does not exist. Use [errors.As] to read the text of the browser, or [errors.Is] with [ErrPageLoad] to test for any loa
| 34 | // read the text of the browser, or [errors.Is] with [ErrPageLoad] to test for |
| 35 | // any load error. |
| 36 | type LoadError struct { |
| 37 | // ErrorText is the error text of the browser, such as |
| 38 | // "net::ERR_NAME_NOT_RESOLVED". Chromium lists these texts in |
| 39 | // net/base/net_error_list.h. |
| 40 | ErrorText string |
| 41 | } |
| 42 | |
| 43 | // Error satisfies the error interface. The text is the same as in earlier |
| 44 | // versions. |
nothing calls this directly
no outgoing calls
no test coverage detected