[TASK] Doctrine: Migrate error handlers