title: WebKit WKWebView Error Handling
body: <p>Please could someone advise with a example of Webkit WKWebView error handling... </p>
  
  <p>I have the below working code (but without error handling) :</p>
  
  <pre><code>import UIKit
  import WebKit
  
  class ViewController: UIViewController {
  
  @IBOutlet weak var HybridWebView: WKWebView!
  
  override func viewDidLoad() {
          super.viewDidLoad()
  }
  
  override func viewDidAppear(_ animated: Bool) {
          super.viewDidAppear(animated)
  
          let url = URL(string: "https://www.google.com")
          let requestUrl = URLRequest(url: url!)
          self.HybridWebView.load(requestUrl)
  }
  </code></pre>
  
  <p>}</p>
  
  <p>At the moment it will just display a blank page if web request has a error.</p>