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

Which file, client/helpers/errors.js or client/templates/includes/errors.js is better for client error codes ? #297

Open
qiulang opened this issue May 17, 2017 · 0 comments

Comments

@qiulang
Copy link

qiulang commented May 17, 2017

After reading the chapter 9, I feel a little bit confused, why should I put throwError code in in client/helpers/errors.js, why not in client/templates/includes/errors.js? Especially I knew that put throwError code in client/templates/includes/errors.js.

Actually, my question is not just about this error.js, when I read the book I always have the question that why should I put this code here instead of there ?

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