     ///
     /// - tokenExpired: request received a 401 from a backend
     /// - badRequest: generic error for responses
-    /// - unknownReason: a request that could not validate a status code
+    /// - internalServerError: a 500 request
+    /// - badStatusCode: a request that could not validate a status code
+    /// - persistanceFailure: any issues related to our data layer
     public enum ResponseFailureReason {
         
         case tokenExpired(code: Int)
-        case badRequest(code: Int)
+        case badRequest(error: Error)
         case internalServerError
         case badStatusCode
         case persistanceFailure(code: Int)

            return false
        }
    }
    init(code:Int) {
        switch code {
        case 401:
            self = .tokenExpired(code: code)

            self = .internalServerError
            
        default:
            self = .badRequest(error: error)
        }
    }
}
