Skip to content

throwing when users call functions with wrong arguments #20

@khanh-tech

Description

@khanh-tech

Hi! first of all, great work & thank you
I've integrated your library successfully but now I need to let my script users know when they're calling functions with wrong arguments: wrong number and/or type. Right now converted values are used (nil => 0, "0.4" => 0.4)
I'd rather tell the users something went wrong rather than giving them false positives..
I'm not sure where to go in the code to fix it myself. thanks for your help!

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