diff --git a/Sources/KukaiCoreSwift/Services/ErrorHandlingService.swift b/Sources/KukaiCoreSwift/Services/ErrorHandlingService.swift index 2bc3c3bc..f64895fa 100644 --- a/Sources/KukaiCoreSwift/Services/ErrorHandlingService.swift +++ b/Sources/KukaiCoreSwift/Services/ErrorHandlingService.swift @@ -207,8 +207,8 @@ public struct KukaiError: CustomStringConvertible, Error { /** Allow the delegate of the error callback the ability to decide what errors to log or not by detecting the high level type of error being generated */ - public func isTimeout(_ kukaiError: KukaiError) -> Bool { - return kukaiError.underlyingError?.domain == "NSURLErrorDomain" && kukaiError.underlyingError?.code == -1001 + public func isTimeout() -> Bool { + return self.underlyingError?.domain == "NSURLErrorDomain" && self.underlyingError?.code == -1001 } }