Having some trouble finding documentation surrounding the Swift SDK (Okta-Auth-swift) -Trying to decipher what errors are used for what.
public enum OktaError: Error {
case errorBuildingURLRequest - this is self describing
case connectionError(Error) - this is self describing
case emptyServerResponse - this is self describing
case invalidResponse - A little foggy on this - can you elaborate?
case responseSerializationError(Error, Data) - this is self describing
case serverRespondedWithError(OktaAPIErrorResponse) - this is self describing
case unexpectedResponse - Can you elaborate on this?
case wrongStatus(String) -
case alreadyInProgress
case unknownStatus(OktaAPISuccessResponse) - This one is odd. UnknownStatus error with a success response param. Can you elaborate on this?
case internalError(String) - this is self describing
case invalidParameters(String) - this is self describing
}