FixerError

public enum FixerError : Error

Errors that can occur when requesting an Exchange value using the Fixer.io API

  • No data was returned from the API

    Declaration

    Swift

    case noData
  • Failed to construct a valid URL from the components provided

    Declaration

    Swift

    case invalidURL
  • Something went wrong when requesting data from the API. See the underlyingError for more information.

    Declaration

    Swift

    case requestFailure(underlyingError: Error)
  • Something went wrong when decoding the data from the API into an Exchange value. See the underlyingError for more information.

    Declaration

    Swift

    case decodingError(body: String?, underlyingError: Error)