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
underlyingErrorfor more information.Declaration
Swift
case requestFailure(underlyingError: Error) -
Something went wrong when decoding the data from the API into an
Exchangevalue. See theunderlyingErrorfor more information.Declaration
Swift
case decodingError(body: String?, underlyingError: Error)
View on GitHub
Install in Dash
FixerError Enumeration Reference