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

Haml-coffee should throw Errors instead of plain strings. #105

Open
guncha opened this issue Aug 31, 2015 · 2 comments
Open

Haml-coffee should throw Errors instead of plain strings. #105

guncha opened this issue Aug 31, 2015 · 2 comments

Comments

@guncha
Copy link
Contributor

guncha commented Aug 31, 2015

It's a generally good practice to throw Error objects instead of strings because they have an attached stack trace and wrapping tools can add additional information on the object which you can't do on a string.

@vendethiel
Copy link
Collaborator

This definitely could be an improvement. Pull requests welcome!

@guncha
Copy link
Contributor Author

guncha commented Aug 31, 2015

Here #106

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