Better error message

Ensures that the error raised contains the `from` and `to` currency codes.