Skip to content

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

Description

@qiulang

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 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions