This commit is contained in:
Igor 2017-08-25 12:48:09 +03:00
parent 50905c9a06
commit 3afb8124be
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
import Foundation
import Alamofire
/// Extension for network Error classification
public extension Error {
@ -16,5 +17,5 @@ public extension Error {
var isResponseSerializationError: Bool {
return (self as? AFError)?.isResponseSerializationError ?? false
}
}