Wondering if it would be worth just raising the error here, rather than relying on the template view to do it. I can't think of a situation where the API would have an error that the template wouldn't then just turn around and raise itself.