Skip to content

0.3.0

Compare
Choose a tag to compare
@BenMorel BenMorel released this 26 Jul 15:39
· 177 commits to master since this release

New methods:

  • CurrencyConversionException::getSourceCurrencyCode()
  • CurrencyConversionException::getTargetCurrencyCode()

This allows to programmatically get the failing currency pair when an exchange rate is not available.

Breaking change:

  • CurrencyConversionException constructor signature changed

Although this is technically a breaking change and requires a version bump, your code is unlikely to be affected, unless you're creating CurrencyConversionException instances manually (you shouldn't).