ServiceRequestError
@objc(VSSServiceRequestError)
public enum ServiceRequestError : Int, LocalizedError
Declares error types and codes
- invalidGetRequestParameters: GET request parameters are not [String: String] and cannot be encoded
- urlComponentsConvertingFailed: Error building url from components during GET request
- getQueryWithDecodableIsNotSupported: GET query with Encodable body is not supported
- duplicateHeadersKey: Passed headers dictionary contains forbidden http header keys
-
Undocumented
Declaration
Swift
case invalidGetRequestParameters = 1
-
Undocumented
Declaration
Swift
case urlComponentsConvertingFailed = 2
-
Undocumented
Declaration
Swift
case getQueryWithDecodableIsNotSupported = 3
-
Undocumented
Declaration
Swift
case duplicateHeadersKey = 4
-
Human-readable localized description
Declaration
Swift
public var errorDescription: String? { get }