Custom message when using Check

Hello,
I was wondering if I can somehow modify the dirty “Match failed” message that is thrown to the client. I would rather show something as in: “Your request is invalid, please check your input”. Is this possible?

Paul

http://docs.meteor.com/#/full/match_test

you can use Match.test and it will return true or false. Let us know whether it solves your problem or not

Check out my new package that does just what you ask for here: https://atmospherejs.com/zodiase/check.

Hope it helps! :smiley:

1 Like

Thanks, I was looking for something like that exactly!