Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error ? #13

Open
PierrickP opened this issue Apr 4, 2014 · 1 comment
Open

Better error ? #13

PierrickP opened this issue Apr 4, 2014 · 1 comment

Comments

@PierrickP
Copy link

When we have something wrong, money.js just throw fx error (https://github.com/josscrowcroft/money.js/blob/master/money.js#L78)

It would be great if we can have more details about the error or better again, the stack !

@ragulka
Copy link

ragulka commented Nov 30, 2015

I second. It seems the error is thrown whenever a currency is missing from the rates. So it would be useful if the error said which currency was missing.

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

No branches or pull requests

2 participants