there is not 'or'. handle errors there, where they can be handled. sometimes to handle an error can mean to transform and throw a new one. sometime it is just catch and retry. sometimes it's an error page. it deppends.
Am Donnerstag, 26. Juni 2014 05:34:44 UTC+2 schrieb Yu Zhou: > > Hi All, > > I am new to mean stack. Currently, I am using mean io as my nodeJS > application framework. While developing, I am wondering where I should > handle errors ? In Model or in controller ? > > Can anyone help me ? > > Thanks ! > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/8f7c2418-8425-4ec3-b2b0-906e34984bf8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
