checkParamName: fixup throw on declared but unexistent params

Fixes #39
Closes #40
Merge pull request #40 from zxqfox/hotfix/param-name-throw

fix param name throws
v0.0.19

- fixup checkParamNames rule: fix throw