title: Swift 3: fatal error: unexpectedly found nil while unwrapping an Optional value
body: <p>I'm getting this error passing optional:</p>
  
  <pre><code>fatal error: unexpectedly found nil while unwrapping an Optional value
  </code></pre>
  
  <p>Here is my code:</p>
  
  <pre><code>func makeRequestcompletion(completion:@escaping (_ response:Data, _ error:NSError)-&gt;Void)  {
      let urlString = URL(string: "https://myUrl.com")
      if let url = urlString {
          let task = URLSession.shared.dataTask(with: url, completionHandler: { (data, urlRequestResponse, error) in
  
              completion((data)!, error as! NSError) // &lt;-- here is where I'm getting the error
          })
      task.resume()
      }
  }
  </code></pre>
  
  <p>Any of you knows why I'm getting this error?</p>
  
  <p>I'll really appreciate your help.</p>