set error property on controllers

add keyword arg for Head()