throw a more meaningful error when view.html is not found
Merge pull request #7 from jden/better-error

fix: throw a more meaningful error when view.html is not found