set error message when method not found

Just a proposal, because it is painful every time I make a typo