From e2ed2968d4b76f43128ad884e2beca796e9d817b Mon Sep 17 00:00:00 2001 From: yimajo Date: Wed, 14 Sep 2016 02:23:18 +0900 Subject: [PATCH] Fix typo in doc. --- Documentation/APIKit2MigrationGuide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/APIKit2MigrationGuide.md b/Documentation/APIKit2MigrationGuide.md index e67d78e4..05a32e5c 100644 --- a/Documentation/APIKit2MigrationGuide.md +++ b/Documentation/APIKit2MigrationGuide.md @@ -16,7 +16,7 @@ Errors cases of `Session.sendRequest(_:handler:)` is reduced to 3 cases listed b ```swift public enum SessionTaskError: ErrorType { /// Error of networking backend such as `NSURLSession`. - case ConnectionError(NSError) + case ConnectionError(ErrorType) /// Error while creating `NSURLRequest` from `Request`. case RequestError(ErrorType)