ext-rcode: Fixed error processing.