Skip to content

Conversation

arokettu
Copy link
Contributor

@arokettu arokettu commented Aug 1, 2025

A feature request with the implementation.

I find it useful when having an error in the custom implementation to inspect the original error given by a client or a framework.

This PR adds ?\Throwable $previous = null parameter to CurrencyConversionException::__construct() and CurrencyConversionException::exchangeRateNotAvailable()

@BenMorel BenMorel merged commit 820720c into brick:master Aug 5, 2025
7 checks passed
@BenMorel
Copy link
Member

BenMorel commented Aug 5, 2025

Indeed, this was a missing feature, thank you!

@BenMorel
Copy link
Member

BenMorel commented Aug 5, 2025

Released as 0.10.2.

@arokettu arokettu deleted the previous-exception branch August 5, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants