unsafe fn gen_type_error(global: &GlobalScope, string: String) -> RethrowError