We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The spec does not explicitly state that the browser should throw an exception when, for example, invalid amount is provided.
total: {label: "total", amount: {currency: "USD", value: "x"}}
Should the spec explicitly specify that an exception must be thrown or is that implicit?
The text was updated successfully, but these errors were encountered:
This was fixed in #256. If this change was insufficient then please reopen this issue with a specific proposal for what needs to be changed.
Sorry, something went wrong.
I propose that the following text be added:
"If the value is invalid, UA should throw TypeError."
Is there a better error type for signifying invalid input parameters?
This is in the spec - for example see steps 5, 7, 8, 11, and 13 of the constructor algorithm.
No branches or pull requests
The spec does not explicitly state that the browser should throw an exception when, for example, invalid amount is provided.
Should the spec explicitly specify that an exception must be thrown or is that implicit?
The text was updated successfully, but these errors were encountered: