DiscoverMeteor/Microscope

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

Opened this issue · 0 comments

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 ?