title: Are NSURLErrorDomain error messages supposed to appear in the Xcode console?
body: <p>When testing my app with connectivity turned off (wifi and cellular off), I am able to catch the error. But, in the Xcode console, I can also see the error messages. My code is not printing these to the console. Are these supposed to appear? Can I ignore them?</p>
  
  <p>Task .&lt;1> HTTP load failed (error code: -1009 [1:50])
  2019-07-10 23:33:42.953046-0700 CodeSample[7157:942572] Task .&lt;1> finished with error - code: -1009</p>
  
  <p>The error codes are picked up here:</p>
  
  <pre><code>`let task = session.dataTask(with: request, completionHandler: { (data: Data?, response: URLResponse?, error: Error?) -&gt; Void in
      if error == nil {
          // do non error stuff
      } else {
          // error handling here
      }`
  </code></pre>