Rename method errorHandler to handleError