Info=stoch_simul(var_list)?

You mean the code at https://github.com/JohannesPfeifer/DSGE_mod/blob/master/Gali_2015/Gali_2015_chapter_4.mod ?
info stores the error code. See Continue dynare loop even when B/K condition violated (or