ExchangeError

public enum ExchangeError : Error

The possible errors thrown by an Exchange

  • Thrown when unable to decode an Exchange representation

    Declaration

    Swift

    case decodeError
  • Thrown when there is no exchage rate for a particular Currency

    Declaration

    Swift

    case noRateError