                         return NSError(domain: TheoNetworkErrorDomain, code: NSURLErrorUnknown, userInfo: errorDictionary)
                     }()
                     
-                    errorBlock!(requestResponseError, httpResponse)
+                    errorCallBack(requestResponseError, httpResponse)
                 }
             }
         } as! (Data?, URLResponse?, Error?) -> Void)

            let statusCode: Int = httpResponse.statusCode
            let containsStatusCode:Bool = Request.acceptableStatusCodes().contains(statusCode)
            
            if (!containsStatusCode) {
                dataResp = nil
            }
            
            if (successBlock != nil) {
                successBlock!(dataResp, httpResponse)
            }
            
            if (errorBlock != nil) {
                
                if (error != nil) {
                    errorBlock!(error!, httpResponse)
                }
                
                if (!containsStatusCode) {
                    
                    let localizedErrorString: String = "There was an error processing the request"
                    let errorDictionary: [String:String] = ["NSLocalizedDescriptionKey" : localizedErrorString, "TheoResponseCode" : "\(statusCode)", "TheoResponse" : response!.description]

                        return NSError(domain: TheoNetworkErrorDomain, code: NSURLErrorUnknown, userInfo: errorDictionary)
                    }()
                    
                    errorCallBack(requestResponseError, httpResponse)
                }
            }
        } as! (Data?, URLResponse?, Error?) -> Void)
