Change error code to named error code.