add errorfile + alternate version that returns 200 and error name