client-error-properties
location
The file and line number which emitted the error.
public let location: Location?
underlyingError
An underlying error.
public let underlyingError: Error?
localizedDescription
Retrieve the localized description for this error.
public var localizedDescription: String
description
public private(set) lazy var description = "Error \(type(of: self)) in \(location?.file ?? ""):\(location?.line ?? 0)"
+ (localizedDescription.isEmpty ? "" : " -> ")
+ localizedDescription
Operators
==
public static func == (lhs: ClientError, rhs: ClientError) -> Bool