Error handler now receives transition information