 import enum Result.NoError
 
 
-
 public enum NetworkError : ErrorType {
     case ParseFailure
     case MissingData


private extension SignalProducerType {
    
     ///Retries the SignalProducer 'maxAttempts' number of times before failing. Implements an exponential backoff between each retry.
    func retryWithExponentialBackoff(maxAttempts: Int)
        -> SignalProducer<Value, Error> {
            return retryWithBackoff(ExponentialSequence(), attemptsLeft: maxAttempts)

public struct Network {
    
    /// The TOTAL number of seconds to wait before aborting the entire operation.
    static let operationTimeoutSeconds: NSTimeInterval = 10
    
    /// The max number of retries before aborting the entire operation
    static let maxRetryCount = 10
    
    
    //MARK: Public
