 
                 expect(loadedJSONAbles).to(beNil())
                 expect(loadedError!).notTo(beNil())
-                let elloNetworkError = loadedError!.userInfo[NSLocalizedFailureReasonErrorKey] as! ElloNetworkError
+                let elloNetworkError = (loadedError! as NSError).userInfo[NSLocalizedFailureReasonErrorKey] as! ElloNetworkError
 
                 expect(elloNetworkError).to(beAnInstanceOf(ElloNetworkError.self))
                 expect(elloNetworkError.status!) == expectedStatus

                let expectedMessages: [String]? = sharedExampleContext()["messages"] as? [String]

                var loadedJSONAbles: [JSONAble]?
                var loadedError: NSError?

                let endpoint: ElloAPI = .following
                ElloProvider.shared.request(endpoint)
                    .then { response in
                        loadedJSONAbles = data as? [JSONAble]
                    }
                    .catch { error in
                        loadedError = error

                            ElloProvider_Specs.errorStatusCode = .status410

                            var loadedJSONAbles: [JSONAble]?
                            var loadedError: Swift.Error?
                            var handled = false
                            var object: NSError?
                            let testObserver = NotificationObserver(notification: ErrorStatusCode.status410.notification) { error in
