Interface RatesResult

All Known Implementing Classes:
ErrorResponse, ExchangeRates

@NullMarked public sealed interface RatesResult permits ExchangeRates, ErrorResponse
Represents the result of a /rates query.

Either an ExchangeRates instance on success or an ErrorResponse instance on error.

Since:
1.0
Author:
Erik C. Thauvin