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 following way of raising an exception
throw "AssertionError: error description";
is considered the same as throwing the exception in the following way
throw { name: "AssertionError", message: "error description" };
where only the latter should be considered correct.
Original issue by @bmesuere on Mon Dec 19 2016 at 09:20.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following way of raising an exception
is considered the same as throwing the exception in the following way
where only the latter should be considered correct.
Original issue by @bmesuere on Mon Dec 19 2016 at 09:20.
The text was updated successfully, but these errors were encountered: