Changed default error code un run_experiment. Added new exception handling for... See merge request !272