koajs/koa-hbs

Error handling for missing templates

jwilm opened this issue · 0 comments

jwilm commented

#41 introduced error handling that doesn't utilize the preferred koa error mechanism of simply throwing. Add a MissingTemplateError class and throw it when the renderer fails to find a template.