     public let status: Int
     public let data: NSData?
     public let request: Request
+    public let error: NSError?
     
     public var text: String? {
         if let textData = data {

            Ladybug.pendingRequests[request.id] = nil
            NSURLProtocol.removePropertyForKey(Constants.LadybugURLProperty, inRequest: req)
            
            if let httpResponse = response as? NSHTTPURLResponse {
                let res = Response(status: httpResponse.statusCode, data: data, request: request)
                
                dispatch_async(dispatch_get_main_queue(), {
                    request.done?(res)
                    Ladybug.done?(res)
                })
            }
        })
        
        task.resume()

            var allow: Bool?
            
            if challenge.previousFailureCount > 0 {
                completionHandler(.RejectProtectionSpace, nil)
                return
            }
            
