Skip to content

Unhelpful error message when invoke target does not exist #7

@cboulanger

Description

@cboulanger

Hi, extremely useful library, thank you very much. One problem, though:

If I do plugin.invoke("does.not.exist"), I get

TypeError: o is undefined
    _isFunc http://localhost:3001/src/modules/plugin.js:20
    invoke http://localhost:3001/src/modules/plugin.js:127
    invoke http://localhost:3001/src/modules/plugin.js:125
   // ...

Would it be possible to implement a more helpful error message that would indicate the problem?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions