Skip to content

Throw better error message if method is invoked w/ improper signature #15

@calebhaye

Description

@calebhaye

If a method is invoked with an incorrect signature, it would be helpful if an error was raised.

I was calling edit with too few params (3 instead of 4), and the only message I got was: TypeError: The operator "undefined" is not permitted

Sure, I should RTFM, but still! 🤪

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions