Fix invalid_arg error message.
Merge pull request #2 from yallop/master

Fix invalid_arg error message.