What types of volcanic eruptions causes a cooling effect?

What types of volcanic eruptions causes a warming effect?
List gases involved for each.