MCPcopy Create free account
hub / github.com/chromedp/chromedp / LoadError

Struct LoadError

errors.go:36–41  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

34// read the text of the browser, or [errors.Is] with [ErrPageLoad] to test for
35// any load error.
36type 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected