TootSDKError
public enum TootSDKError : Error, LocalizedError, Equatable
Undocumented
-
Undocumented
Declaration
Swift
case decodingError(_: String)
-
Undocumented
Declaration
Swift
case missingCodeOrClientSecrets
-
Undocumented
Declaration
Swift
case nonHTTPURLResponse(data: Data, response: URLResponse)
-
Undocumented
Declaration
Swift
case invalidStatusCode(data: Data, response: HTTPURLResponse)
-
Undocumented
Declaration
Swift
case requiredURLNotSet
-
Undocumented
Declaration
Swift
case missingParameter(parameterName: String)
-
Undocumented
Declaration
Swift
case invalidParameter(parameterName: String)
-
The requested operation is not supported by the current server flavour.
Declaration
Swift
case unsupportedFlavour(current: TootSDKFlavour, required: Set<TootSDKFlavour>)
-
Undocumented
Declaration
Swift
case unexpectedError(_: String)
-
The remote instance did not respond with the expected payload during authorization
Declaration
Swift
case clientAuthorizationFailed
-
A “this should never happen” asssertion has failed
Declaration
Swift
case internalError(_: String)
-
A specific error message was returned from the server
Declaration
Swift
case serverError(_: String)
-
Declaration
Swift
public var errorDescription: String? { get }