Bug-fix: error code assertion.

--CAR and TAO