rollback of previous commit + add reusing of same default error handing function