changing the return code for a PulpCodedException