more helpful error message when failing to resolve functions
Merge pull request #14 from egwynn/master

more helpful error message when failing to resolve functions