Contents

webView(_:resource:didFailLoadingWithError:from:)

Invoked when a resource failed to load.

Declaration

optional func webView(_ sender: WebView!, resource identifier: Any!, didFailLoadingWithError error: (any Error)!, from dataSource: WebDataSource!)

Parameters

  • sender:

    The web view that sent this message.

  • identifier:

    An identifier object used to track the resource being loaded by dataSource.

  • error:

    The error that occurred loading that resource.

  • dataSource:

    The data source for this web view.

Discussion

Delegates might implement this method to display or log a detailed error message.

See Also

Loading Content