adds exception for undefined endpoints
throws exception for undefined endpoints (w/ tests)
Merge pull request #23 from capdig/feature/undefinedEndpoints

Undefined endpoints now throw exceptions (breaking change)