More informative error messages when stubbing

These are just some minor tweaks to give slightly more detail when incorrectly using the when() action methods. Hopefully they're useful to somebody.