ext-rcode: Fixed RCODE setting in error-processing