Browse Source

Added missing docstring to Error typealias in ResponseSerializer protocol.

Christian Noon 10 years ago
parent
commit
248ec573bc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Source/ResponseSerialization.swift

+ 2 - 0
Source/ResponseSerialization.swift

@@ -30,6 +30,8 @@ import Foundation
 public protocol ResponseSerializer {
     /// The type of serialized object to be created by this `ResponseSerializer`.
     typealias SerializedObject
+
+    /// The type of error to be created by this `ResponseSerializer` if serialization fails.
     typealias Error: ErrorType
 
     /**