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

Parsing failure should throw Error (possibly subclass) rather than a String #31

Open
epoberezkin opened this issue Sep 2, 2016 · 0 comments

Comments

@epoberezkin
Copy link
Collaborator

try {
  edn.parse("{:a 5");
} catch(e) {
  console.log('Error:', e); // e is a String here, should be an instance of Error (or of a subclass) 
}
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

1 participant