APIError

public enum APIError: Error

API-specific errors.

  • The data returned by the API was not a dictionary.

    Declaration

    Swift

    case notDictionary(response: String)
  • The API returned an error.

    Declaration

    Swift

    case apiError(id: Int?, message: String?)
  • A backoff was recieved and backoffBehavior was .throwError.

    Declaration

    Swift

    case backoff(expiration: Date)