add raise_exc_info function for fallback copatibility