Error handling when given incorrect number of arguments.