Reconfigured ErrorRepository