simplify error reporting
Merge pull request #7 from mapbox/errors

Simpler error reporting