Change error handlers functionality