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

Have the TypeError thrown by assertString.js include the incorrect type provided #894

Closed
DCtheTall opened this issue Sep 13, 2018 · 2 comments

Comments

@DCtheTall
Copy link
Contributor

DCtheTall commented Sep 13, 2018

assertString.js throws a TypeError when the type of the argument is not a string, I was wondering if people thought it would be useful to include the incorrect type of the object that caused that error?

This might be helpful for other developers using this library who are debugging their own code.

I would also be happy to provide a PR for this if that is something other people may find useful.

@chriso
Copy link
Collaborator

chriso commented Sep 17, 2018 via email

@chriso
Copy link
Collaborator

chriso commented Sep 24, 2018

Fixed by #895.

@chriso chriso closed this as completed Sep 24, 2018
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