Wrong type for the exception

Change the wrong input type, it should say "integer" or "int" and it is "string" at the moment