clarify error message
Fixes #26: catch passing complete struct to function